add IsResourceHeavy() to command interface
This commit is contained in:
@@ -35,6 +35,10 @@ func (c *commandVolumeServerLeave) Help() string {
|
||||
`
|
||||
}
|
||||
|
||||
func (c *commandVolumeServerLeave) IsResourceHeavy() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *commandVolumeServerLeave) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
|
||||
|
||||
vsLeaveCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
|
||||
|
||||
Reference in New Issue
Block a user