From adb90bd2528b663bf4e0c14619586abb747cbd89 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 19 Mar 2023 21:20:46 -0700 Subject: [PATCH] avoid lower casing the command fix https://github.com/seaweedfs/seaweedfs/pull/4321 --- weed/server/master_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/master_server.go b/weed/server/master_server.go index cd20f78fc..bed4119d3 100644 --- a/weed/server/master_server.go +++ b/weed/server/master_server.go @@ -316,7 +316,7 @@ func processEachCmd(reg *regexp.Regexp, line string, commandEnv *shell.CommandEn for i := range args { args[i] = strings.Trim(string(cmds[1+i]), "\"'") } - cmd := strings.ToLower(cmds[0]) + cmd := cmds[0] for _, c := range shell.Commands { if c.Name() == cmd {