aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/shell_liner.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/shell_liner.go')
-rw-r--r--weed/shell/shell_liner.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go
index 3cde1d237..fed62aba1 100644
--- a/weed/shell/shell_liner.go
+++ b/weed/shell/shell_liner.go
@@ -65,10 +65,12 @@ func RunShell(options ShellOptions) {
}
return nil
})
+ fmt.Printf("master: %s ", *options.Masters)
if len(filers) > 0 {
- fmt.Printf("filers: %v\n", filers)
+ fmt.Printf("filers: %v", filers)
commandEnv.option.FilerAddress = filers[rand.Intn(len(filers))]
}
+ fmt.Println()
}
if commandEnv.option.FilerAddress != "" {