aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_mark.go
diff options
context:
space:
mode:
authorchrislu <chrislu@roblox.com>2021-12-10 13:24:38 -0800
committerchrislu <chrislu@roblox.com>2021-12-10 13:24:38 -0800
commita2d3f89c7b136780f0ca0400dec3c93c9370df8c (patch)
treeb7a5037df534122cff459c3902a38c270348d3f5 /weed/shell/command_volume_mark.go
parent991a3dca0d30e980a234c8d8e4c5558625b03325 (diff)
downloadseaweedfs-a2d3f89c7b136780f0ca0400dec3c93c9370df8c.tar.xz
seaweedfs-a2d3f89c7b136780f0ca0400dec3c93c9370df8c.zip
add lock messages
Diffstat (limited to 'weed/shell/command_volume_mark.go')
-rw-r--r--weed/shell/command_volume_mark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_mark.go b/weed/shell/command_volume_mark.go
index 7734ea9ce..53c2265b0 100644
--- a/weed/shell/command_volume_mark.go
+++ b/weed/shell/command_volume_mark.go
@@ -44,7 +44,7 @@ func (c *commandVolumeMark) Do(args []string, commandEnv *CommandEnv, writer io.
markWritable = true
}
- if err = commandEnv.confirmIsLocked(); err != nil {
+ if err = commandEnv.confirmIsLocked(args); err != nil {
return
}