aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
Diffstat (limited to 'weed')
-rw-r--r--weed/shell/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index 2c2032963..e67394e42 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -54,7 +54,7 @@ func NewCommandEnv(options *ShellOptions) *CommandEnv {
MasterClient: wdclient.NewMasterClient(options.GrpcDialOption, *options.FilerGroup, pb.AdminShellClient, "", "", "", pb.ServerAddresses(*options.Masters).ToAddressMap()),
option: options,
}
- ce.locker = exclusive_locks.NewExclusiveLocker(ce.MasterClient, "admin")
+ ce.locker = exclusive_locks.NewExclusiveLocker(ce.MasterClient, "shell")
return ce
}