From f1f14e28bcbc5ce4655d47bf1bce80a65fa44644 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 26 Mar 2023 12:17:23 -0700 Subject: [PATCH] adjust name --- weed/shell/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }