aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-05 21:06:55 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-05 21:06:55 -0700
commit1e22166939f3e5ef7b7ff439e724f69f4a923f89 (patch)
treea3630b59169726366c876997c6b328193c12541a
parent8cf0c515bfb45c5d8e6c71f96c43f91cae30ea9d (diff)
downloadseaweedfs-1e22166939f3e5ef7b7ff439e724f69f4a923f89.tar.xz
seaweedfs-1e22166939f3e5ef7b7ff439e724f69f4a923f89.zip
adjust error message
-rw-r--r--weed/shell/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index 0e285214b..697c68ae3 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -75,7 +75,7 @@ func (ce *CommandEnv) confirmIsLocked() error {
return nil
}
- return fmt.Errorf("need to lock to continue")
+ return fmt.Errorf("need to run \"lock\" first to continue")
}