aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/shell_liner.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-03-07 10:42:29 -0800
committerchrislu <chris.lu@gmail.com>2024-03-07 10:42:29 -0800
commit8f79bb398780a5b0e746c2be4160e74dcc65b287 (patch)
tree34f45830dda7740d125f5f0c33763a1cc019e0af /weed/shell/shell_liner.go
parentfe03b1b5228d421f2b9e6903a728aa76866166f1 (diff)
parentb544a69550d6793dc61eafccc9b850d43bee5d32 (diff)
downloadseaweedfs-8f79bb398780a5b0e746c2be4160e74dcc65b287.tar.xz
seaweedfs-8f79bb398780a5b0e746c2be4160e74dcc65b287.zip
Merge branch 'master' into mq-subscribe
Diffstat (limited to 'weed/shell/shell_liner.go')
-rw-r--r--weed/shell/shell_liner.go19
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 {