diff options
| author | chrislu <chris.lu@gmail.com> | 2022-01-12 01:24:24 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-01-12 01:24:24 -0800 |
| commit | adfd54e7c4e183ccffb90a3355d9ede898d0eb06 (patch) | |
| tree | 4bbf806c06b40ba50ef69c519dc6b6832e2e925c | |
| parent | 6cc92817dcfefee7d7701cfd11291bde1e187382 (diff) | |
| download | seaweedfs-adfd54e7c4e183ccffb90a3355d9ede898d0eb06.tar.xz seaweedfs-adfd54e7c4e183ccffb90a3355d9ede898d0eb06.zip | |
fix compilation
| -rw-r--r-- | weed/shell/shell_liner.go | 2 |
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() |
