diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-11-26 11:22:30 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-11-26 11:22:30 -0800 |
| commit | 0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef (patch) | |
| tree | 6080001e9b19905a24b136ba5cae79ce9d4994cb /weed/shell/command_fs_configure.go | |
| parent | effa00ed0861a9f6b774e4413a44fd96b6604667 (diff) | |
| download | seaweedfs-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.go | 2 |
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()) } } |
