aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/shell_liner.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-13 21:25:51 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-13 21:25:51 -0700
commit5d6753fb984c4ea4ee9e3b427cb468916d0b07fb (patch)
tree55317a3245f5202f83601f4dfbfe21dd711a7739 /weed/shell/shell_liner.go
parent1af95c5b76d528ca8532e845305719818435df83 (diff)
downloadseaweedfs-5d6753fb984c4ea4ee9e3b427cb468916d0b07fb.tar.xz
seaweedfs-5d6753fb984c4ea4ee9e3b427cb468916d0b07fb.zip
shell: add volumeServer.leave command
Diffstat (limited to 'weed/shell/shell_liner.go')
-rw-r--r--weed/shell/shell_liner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go
index 4632a1fb0..2d5166acf 100644
--- a/weed/shell/shell_liner.go
+++ b/weed/shell/shell_liner.go
@@ -66,7 +66,7 @@ func processEachCmd(reg *regexp.Regexp, cmd string, commandEnv *CommandEnv) bool
args[i] = strings.Trim(string(cmds[1+i]), "\"'")
}
- cmd := strings.ToLower(cmds[0])
+ cmd := cmds[0]
if cmd == "help" || cmd == "?" {
printHelp(cmds)
} else if cmd == "exit" || cmd == "quit" {