aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_configure.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-26 11:22:30 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-26 11:22:30 -0800
commit0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef (patch)
tree6080001e9b19905a24b136ba5cae79ce9d4994cb /weed/shell/command_fs_configure.go
parenteffa00ed0861a9f6b774e4413a44fd96b6604667 (diff)
downloadseaweedfs-0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef.tar.xz
seaweedfs-0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef.zip
go fmt
Diffstat (limited to 'weed/shell/command_fs_configure.go')
-rw-r--r--weed/shell/command_fs_configure.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_configure.go b/weed/shell/command_fs_configure.go
index 8def10d03..d530b2585 100644
--- a/weed/shell/command_fs_configure.go
+++ b/weed/shell/command_fs_configure.go
@@ -107,7 +107,7 @@ func (c *commandFsConfigure) Do(args []string, commandEnv *CommandEnv, writer io
if err != nil {
return fmt.Errorf("parse replication %s: %v", *replication, err)
}
- if *volumeGrowthCount % rp.GetCopyCount() != 0 {
+ if *volumeGrowthCount%rp.GetCopyCount() != 0 {
return fmt.Errorf("volumeGrowthCount %d should be devided by replication copy count %d", *volumeGrowthCount, rp.GetCopyCount())
}
}