aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorjoeslay <54322500+joeslay@users.noreply.github.com>2019-10-01 17:55:31 +0100
committerGitHub <noreply@github.com>2019-10-01 17:55:31 +0100
commit9d03aa6a38ad964b02cc19dffec60c646567c99f (patch)
treedcd9a5eb7fb377deac380aa27d45baa2c3b99963 /weed/shell
parenteb27c2b03762b2ff214824fad504aa348f397afd (diff)
parent8599442ab11eb7dcc8cc681b1600d0a1cffc0c6d (diff)
downloadseaweedfs-9d03aa6a38ad964b02cc19dffec60c646567c99f.tar.xz
seaweedfs-9d03aa6a38ad964b02cc19dffec60c646567c99f.zip
Merge pull request #8 from chrislusf/master
merge seaweed master
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/command_volume_list.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.go
index 134580ffe..91b5a0d32 100644
--- a/weed/shell/command_volume_list.go
+++ b/weed/shell/command_volume_list.go
@@ -98,7 +98,7 @@ func writeDataNodeInfo(writer io.Writer, t *master_pb.DataNodeInfo) statistics {
}
func writeVolumeInformationMessage(writer io.Writer, t *master_pb.VolumeInformationMessage) statistics {
fmt.Fprintf(writer, " volume %+v \n", t)
- return newStatiscis(t)
+ return newStatistics(t)
}
type statistics struct {
@@ -108,7 +108,7 @@ type statistics struct {
DeletedBytes uint64
}
-func newStatiscis(t *master_pb.VolumeInformationMessage) statistics {
+func newStatistics(t *master_pb.VolumeInformationMessage) statistics {
return statistics{
Size: t.Size,
FileCount: t.FileCount,