aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_configure.go
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-16 04:43:49 -0500
committerGitHub <noreply@github.com>2022-09-16 02:43:49 -0700
commit824f7ad9e192c1999fdb5da3a9af8c112904cc66 (patch)
treeed225295a530e83a11fee1b6f942d762ce25fd18 /weed/shell/command_fs_configure.go
parent277976bd762a108d6b6f7f96500a769c5454549d (diff)
downloadseaweedfs-824f7ad9e192c1999fdb5da3a9af8c112904cc66.tar.xz
seaweedfs-824f7ad9e192c1999fdb5da3a9af8c112904cc66.zip
refactor(shell): readability improvements (#3704)
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
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 1bf42b9ab..60edb79c2 100644
--- a/weed/shell/command_fs_configure.go
+++ b/weed/shell/command_fs_configure.go
@@ -98,7 +98,7 @@ func (c *commandFsConfigure) Do(args []string, commandEnv *CommandEnv, writer io
return fmt.Errorf("parse replication %s: %v", *replication, err)
}
if *volumeGrowthCount%rp.GetCopyCount() != 0 {
- return fmt.Errorf("volumeGrowthCount %d should be devided by replication copy count %d", *volumeGrowthCount, rp.GetCopyCount())
+ return fmt.Errorf("volumeGrowthCount %d should be divided by replication copy count %d", *volumeGrowthCount, rp.GetCopyCount())
}
}