aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruser <ekhvalov@gmail.com>2021-11-11 16:08:41 +0900
committeruser <ekhvalov@gmail.com>2021-11-11 16:08:41 +0900
commitc387fe957b1be5342e2188bf258c440815fb98d0 (patch)
treee60f6e87044b20722c7c9863443f7cb1b200fa3b
parent835e2d2ddf959dc8dd234021ac3cde72bd9e9246 (diff)
downloadseaweedfs-c387fe957b1be5342e2188bf258c440815fb98d0.tar.xz
seaweedfs-c387fe957b1be5342e2188bf258c440815fb98d0.zip
Unused parameter removed.
-rw-r--r--weed/shell/command_volume_configure_replication.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_configure_replication.go b/weed/shell/command_volume_configure_replication.go
index 5640e58bb..00eab2c85 100644
--- a/weed/shell/command_volume_configure_replication.go
+++ b/weed/shell/command_volume_configure_replication.go
@@ -34,7 +34,7 @@ func (c *commandVolumeConfigureReplication) Help() string {
`
}
-func (c *commandVolumeConfigureReplication) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
+func (c *commandVolumeConfigureReplication) Do(args []string, commandEnv *CommandEnv, _ io.Writer) (err error) {
configureReplicationCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
volumeIdInt := configureReplicationCommand.Int("volumeId", 0, "the volume id")