You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FAB-5992] Fix error at line 42 of the script.sh in scripts dir,
and add tips in byfn.sh.
Change-Id: Id05277074dc240c06e1b47ac4eedf349e9555cfa
Signed-off-by: Zhangjiong Xuan <xuanzhangjiong@hyperchain.cn>
Copy file name to clipboardexpand all lines: first-network/byfn.sh
+3-3
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ function printHelp () {
43
43
echo" - 'restart' - restart the network"
44
44
echo" - 'generate' - generate required certificates and genesis block"
45
45
echo" -c <channel name> - channel name to use (defaults to \"mychannel\")"
46
-
echo" -t <timeout> - CLI timeout duration in microseconds (defaults to 10000)"
46
+
echo" -t <timeout> - CLI timeout duration in seconds (defaults to 10000)"
47
47
echo" -d <delay> - delay duration in seconds (defaults to 3)"
48
48
echo" -f <docker-compose-file> - specify which docker-compose file use (defaults to docker-compose-cli.yaml)"
49
49
echo" -s <dbtype> - the database backend to use: goleveldb (default) or couchdb"
@@ -353,9 +353,9 @@ fi
353
353
354
354
if [ "${IF_COUCHDB}"=="couchdb" ];then
355
355
echo
356
-
echo"${EXPMODE} with channel '${CHANNEL_NAME}' and CLI timeout of '${CLI_TIMEOUT}' using database '${IF_COUCHDB}'"
356
+
echo"${EXPMODE} with channel '${CHANNEL_NAME}' and CLI timeout of '${CLI_TIMEOUT}' seconds and CLI delay of '${CLI_DELAY}' seconds and using database '${IF_COUCHDB}'"
357
357
else
358
-
echo"${EXPMODE} with channel '${CHANNEL_NAME}' and CLI timeout of '${CLI_TIMEOUT}'"
358
+
echo"${EXPMODE} with channel '${CHANNEL_NAME}' and CLI timeout of '${CLI_TIMEOUT}' seconds and CLI delay of '${CLI_DELAY}' seconds"
0 commit comments