mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-11 22:38:53 +01:00
add IsResourceHeavy() to command interface
This commit is contained in:
1 parent
dad3a26fb6
commit
701abbb9df
73 files changed
+295
-2
No files matched your search
@@ -26,6 +26,10 @@ func (c *commandEnableVacuum) Help() string {
|
||||
`
|
||||
}
|
||||
|
||||
func (c *commandEnableVacuum) IsResourceHeavy() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *commandEnableVacuum) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
|
||||
|
||||
if err = commandEnv.confirmIsLocked(args); err != nil {
|
||||
|
||||
Reference in new issue
Block a user