diff options
| author | chrislu <chris.lu@gmail.com> | 2023-06-19 18:19:13 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-06-19 18:19:13 -0700 |
| commit | 8ec1bc2c99b4f63dda5866e0c09841abc8845087 (patch) | |
| tree | a6e54bba06f6fc126835427707a848b4268aefcd /weed/shell/command_cluster_ps.go | |
| parent | f97e663f0db379923057171a150720ce300886c3 (diff) | |
| download | seaweedfs-8ec1bc2c99b4f63dda5866e0c09841abc8845087.tar.xz seaweedfs-8ec1bc2c99b4f63dda5866e0c09841abc8845087.zip | |
remove unused cluster node leader
Diffstat (limited to 'weed/shell/command_cluster_ps.go')
| -rw-r--r-- | weed/shell/command_cluster_ps.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/shell/command_cluster_ps.go b/weed/shell/command_cluster_ps.go index b2c0a2237..2587db0d8 100644 --- a/weed/shell/command_cluster_ps.go +++ b/weed/shell/command_cluster_ps.go @@ -89,9 +89,6 @@ func (c *commandClusterPs) Do(args []string, commandEnv *CommandEnv, writer io.W if node.Rack != "" { fmt.Fprintf(writer, " Rack: %v\n", node.Rack) } - if node.IsLeader { - fmt.Fprintf(writer, " IsLeader: %v\n", true) - } } } |
