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

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