aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_collection_delete.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_collection_delete.go')
-rw-r--r--weed/shell/command_collection_delete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_collection_delete.go b/weed/shell/command_collection_delete.go
index 8942c15da..55c8ddf19 100644
--- a/weed/shell/command_collection_delete.go
+++ b/weed/shell/command_collection_delete.go
@@ -53,7 +53,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
return nil
}
- err = commandEnv.MasterClient.WithClient(func(client master_pb.SeaweedClient) error {
+ err = commandEnv.MasterClient.WithClient(false, func(client master_pb.SeaweedClient) error {
_, err = client.CollectionDelete(context.Background(), &master_pb.CollectionDeleteRequest{
Name: *collectionName,
})