Skip to content

Commit a49cc29

Browse files
Update tools.sh
1 parent 50af140 commit a49cc29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/tools.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Crust tools usage:
99
help show help information
1010
space-info show information about data folders
1111
rotate-keys generate session key of chain node
12-
upgrade-image {chain|api|smanager|ipfs|c-gen|sworker} upgrade one docker image
12+
upgrade-image {chain|api|smanager|ipfs|c-gen|sw} upgrade one docker image
1313
sworker-ab-upgrade {code} sworker AB upgrade
1414
workload show workload information
1515
file-info {all|valid|lost|pending|{cid}} {output-file} show file information
@@ -220,7 +220,7 @@ upgrade_image()
220220
if [ $? -ne 0 ]; then
221221
return 1
222222
fi
223-
elif [ x"$1" == x"sworker" ]; then
223+
elif [ x"$1" == x"sw" ]; then
224224
upgrade_docker_image crust-sworker $2
225225
if [ $? -ne 0 ]; then
226226
return 1

0 commit comments

Comments
 (0)