aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/commands.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-03-26 12:17:23 -0700
committerchrislu <chris.lu@gmail.com>2023-03-26 12:17:23 -0700
commitf1f14e28bcbc5ce4655d47bf1bce80a65fa44644 (patch)
tree638b32b03805f29167040f855fd1654ac60c054a /weed/shell/commands.go
parentd54798c3ae4fe940246e5b32eb25cdf6199bff57 (diff)
downloadseaweedfs-f1f14e28bcbc5ce4655d47bf1bce80a65fa44644.tar.xz
seaweedfs-f1f14e28bcbc5ce4655d47bf1bce80a65fa44644.zip
adjust name
Diffstat (limited to 'weed/shell/commands.go')
-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
}