mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 14:30:46 +02: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
@@ -35,6 +35,10 @@ func (c *commandVolumeConfigureReplication) Help() string {
|
||||
`
|
||||
}
|
||||
|
||||
func (c *commandVolumeConfigureReplication) IsResourceHeavy() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *commandVolumeConfigureReplication) Do(args []string, commandEnv *CommandEnv, _ io.Writer) (err error) {
|
||||
|
||||
configureReplicationCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
|
||||
|
||||
Reference in new issue
Block a user