Skip to content

Commit

Permalink
Update tools.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LowEntropyBody authored Dec 13, 2021
1 parent 50af140 commit a49cc29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Crust tools usage:
help show help information
space-info show information about data folders
rotate-keys generate session key of chain node
upgrade-image {chain|api|smanager|ipfs|c-gen|sworker} upgrade one docker image
upgrade-image {chain|api|smanager|ipfs|c-gen|sw} upgrade one docker image
sworker-ab-upgrade {code} sworker AB upgrade
workload show workload information
file-info {all|valid|lost|pending|{cid}} {output-file} show file information
Expand Down Expand Up @@ -220,7 +220,7 @@ upgrade_image()
if [ $? -ne 0 ]; then
return 1
fi
elif [ x"$1" == x"sworker" ]; then
elif [ x"$1" == x"sw" ]; then
upgrade_docker_image crust-sworker $2
if [ $? -ne 0 ]; then
return 1
Expand Down

0 comments on commit a49cc29

Please sign in to comment.