add IsResourceHeavy() to command interface

This commit is contained in:
chrislu
2024-09-28 20:22:57 -07:00
parent dad3a26fb6
commit 701abbb9df
73 changed files with 295 additions and 2 deletions

View File

@@ -34,6 +34,10 @@ func (c *commandVolumeUnmount) Help() string {
`
}
func (c *commandVolumeUnmount) IsResourceHeavy() bool {
return false
}
func (c *commandVolumeUnmount) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
volUnmountCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)