From 701abbb9df1b21b2acef8af6b5f1093754dd4f40 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 28 Sep 2024 20:22:57 -0700 Subject: add IsResourceHeavy() to command interface --- weed/shell/command_ec_encode.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'weed/shell/command_ec_encode.go') diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.go index 3a686fc75..7429e9a6a 100644 --- a/weed/shell/command_ec_encode.go +++ b/weed/shell/command_ec_encode.go @@ -56,6 +56,10 @@ func (c *commandEcEncode) Help() string { ` } +func (c *commandEcEncode) IsResourceHeavy() bool { + return false +} + func (c *commandEcEncode) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) { encodeCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError) -- cgit v1.2.3