diff options
| author | chrislu <chris.lu@gmail.com> | 2023-03-26 12:17:23 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-03-26 12:17:23 -0700 |
| commit | f1f14e28bcbc5ce4655d47bf1bce80a65fa44644 (patch) | |
| tree | 638b32b03805f29167040f855fd1654ac60c054a /weed/shell/commands.go | |
| parent | d54798c3ae4fe940246e5b32eb25cdf6199bff57 (diff) | |
| download | seaweedfs-f1f14e28bcbc5ce4655d47bf1bce80a65fa44644.tar.xz seaweedfs-f1f14e28bcbc5ce4655d47bf1bce80a65fa44644.zip | |
adjust name
Diffstat (limited to 'weed/shell/commands.go')
| -rw-r--r-- | weed/shell/commands.go | 2 |
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 } |
