aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/commands.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2024-11-20 21:35:24 +0500
committerGitHub <noreply@github.com>2024-11-20 08:35:24 -0800
commit254ed8897e17b359cbdfb8e5da2922e35c4e0f2d (patch)
tree20296add7582471b335e6d737bb414937974261a /weed/shell/commands.go
parent96f1a2e01a579184cf614a5f42194fdcc53c9b2d (diff)
downloadseaweedfs-254ed8897e17b359cbdfb8e5da2922e35c4e0f2d.tar.xz
seaweedfs-254ed8897e17b359cbdfb8e5da2922e35c4e0f2d.zip
[shell] add noLock param for volume.move (#6261)
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 dbbd86f0e..264dd4818 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -82,7 +82,7 @@ func (ce *CommandEnv) isLocked() bool {
return true
}
if ce.noLock {
- return false
+ return true
}
return ce.locker.IsLocked()
}