aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_cluster_ps.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_cluster_ps.go')
-rw-r--r--weed/shell/command_cluster_ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_cluster_ps.go b/weed/shell/command_cluster_ps.go
index 5ed1677c8..2d391de1d 100644
--- a/weed/shell/command_cluster_ps.go
+++ b/weed/shell/command_cluster_ps.go
@@ -36,7 +36,7 @@ func (c *commandClusterPs) Do(args []string, commandEnv *CommandEnv, writer io.W
return nil
}
- err = commandEnv.MasterClient.WithClient(func(client master_pb.SeaweedClient) error {
+ err = commandEnv.MasterClient.WithClient(false, func(client master_pb.SeaweedClient) error {
resp, err := client.ListClusterNodes(context.Background(), &master_pb.ListClusterNodesRequest{
ClientType: cluster.FilerType,
})