From adfd54e7c4e183ccffb90a3355d9ede898d0eb06 Mon Sep 17 00:00:00 2001 From: chrislu Date: Wed, 12 Jan 2022 01:24:24 -0800 Subject: [PATCH] fix compilation --- weed/shell/shell_liner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go index 0aa65f049..90ce2dbb4 100644 --- a/weed/shell/shell_liner.go +++ b/weed/shell/shell_liner.go @@ -46,7 +46,7 @@ func RunShell(options ShellOptions) { reg, _ := regexp.Compile(`'.*?'|".*?"|\S+`) - commandEnv := NewCommandEnv(options) + commandEnv := NewCommandEnv(&options) go commandEnv.MasterClient.KeepConnectedToMaster() commandEnv.MasterClient.WaitUntilConnected()