aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-01-12 01:24:24 -0800
committerchrislu <chris.lu@gmail.com>2022-01-12 01:24:24 -0800
commitadfd54e7c4e183ccffb90a3355d9ede898d0eb06 (patch)
tree4bbf806c06b40ba50ef69c519dc6b6832e2e925c
parent6cc92817dcfefee7d7701cfd11291bde1e187382 (diff)
downloadseaweedfs-adfd54e7c4e183ccffb90a3355d9ede898d0eb06.tar.xz
seaweedfs-adfd54e7c4e183ccffb90a3355d9ede898d0eb06.zip
fix compilation
-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 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()