aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-06-19 18:19:13 -0700
committerchrislu <chris.lu@gmail.com>2023-06-19 18:19:13 -0700
commit8ec1bc2c99b4f63dda5866e0c09841abc8845087 (patch)
treea6e54bba06f6fc126835427707a848b4268aefcd /weed/shell
parentf97e663f0db379923057171a150720ce300886c3 (diff)
downloadseaweedfs-8ec1bc2c99b4f63dda5866e0c09841abc8845087.tar.xz
seaweedfs-8ec1bc2c99b4f63dda5866e0c09841abc8845087.zip
remove unused cluster node leader
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/command_cluster_ps.go3
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)
- }
}
}