aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fix_replication.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
-rw-r--r--weed/shell/command_volume_fix_replication.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index 8337f5368..55c801284 100644
--- a/weed/shell/command_volume_fix_replication.go
+++ b/weed/shell/command_volume_fix_replication.go
@@ -55,8 +55,8 @@ func (c *commandVolumeFixReplication) Help() string {
`
}
-func (c *commandVolumeFixReplication) HasTag(CommandTag) bool {
- return false
+func (c *commandVolumeFixReplication) HasTag(tag CommandTag) bool {
+ return tag == ResourceHeavy
}
func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {