aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-17 20:27:36 -0700
committerChris Lu <chris.lu@uber.com>2019-03-17 20:27:36 -0700
commit2fcc88116eafbf88a1d757a924cefe66cf8ffc74 (patch)
tree94fe29fa4af0acac0cfb14a9cc224358eaad81bf
parentaca653c08bfaae205e3a62ae9e58ce327a5a583f (diff)
downloadseaweedfs-2fcc88116eafbf88a1d757a924cefe66cf8ffc74.tar.xz
seaweedfs-2fcc88116eafbf88a1d757a924cefe66cf8ffc74.zip
go fmt
-rw-r--r--weed/shell/command_volume_list.go2
-rw-r--r--weed/storage/volume_info.go1
2 files changed, 1 insertions, 2 deletions
diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.go
index 1d921e4b4..971e18f10 100644
--- a/weed/shell/command_volume_list.go
+++ b/weed/shell/command_volume_list.go
@@ -30,7 +30,7 @@ func (c *commandVolumeList) Do(args []string, commandEnv *commandEnv, writer io.
return err
}
- writeTopologyInfo(writer,resp.TopologyInfo)
+ writeTopologyInfo(writer, resp.TopologyInfo)
return nil
}
diff --git a/weed/storage/volume_info.go b/weed/storage/volume_info.go
index 450100e59..7afad412d 100644
--- a/weed/storage/volume_info.go
+++ b/weed/storage/volume_info.go
@@ -60,7 +60,6 @@ func (vi VolumeInfo) ToVolumeInformationMessage() *master_pb.VolumeInformationMe
}
}
-
/*VolumesInfo sorting*/
type volumeInfos []*VolumeInfo