diff options
Diffstat (limited to 'weed/shell/shell_liner.go')
| -rw-r--r-- | weed/shell/shell_liner.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go index 28672c17c..20add302a 100644 --- a/weed/shell/shell_liner.go +++ b/weed/shell/shell_liner.go @@ -5,7 +5,6 @@ import ( "fmt" "github.com/seaweedfs/seaweedfs/weed/cluster" "github.com/seaweedfs/seaweedfs/weed/pb" - "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/seaweedfs/weed/pb/master_pb" "github.com/seaweedfs/seaweedfs/weed/util" "github.com/seaweedfs/seaweedfs/weed/util/grace" @@ -74,24 +73,6 @@ func RunShell(options ShellOptions) { fmt.Println() } - if commandEnv.option.FilerAddress != "" { - commandEnv.WithFilerClient(false, func(filerClient filer_pb.SeaweedFilerClient) error { - resp, err := filerClient.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{}) - if err != nil { - return err - } - if resp.ClusterId != "" { - fmt.Printf(` ---- -Free Monitoring Data URL: -https://cloud.seaweedfs.com/ui/%s ---- -`, resp.ClusterId) - } - return nil - }) - } - for { cmd, err := line.Prompt("> ") if err != nil { |
