mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
minor
This commit is contained in:
parent
11549706ef
commit
1ce725728d
|
@ -95,7 +95,7 @@ func (c *commandClusterPs) Do(args []string, commandEnv *CommandEnv, writer io.W
|
||||||
filerSignatures := make(map[*master_pb.ListClusterNodesResponse_ClusterNode]int32)
|
filerSignatures := make(map[*master_pb.ListClusterNodesResponse_ClusterNode]int32)
|
||||||
fmt.Fprintf(writer, "* filers %d\n", len(filerNodes))
|
fmt.Fprintf(writer, "* filers %d\n", len(filerNodes))
|
||||||
for _, node := range filerNodes {
|
for _, node := range filerNodes {
|
||||||
fmt.Fprintf(writer, " * %s (%v)\n", node.Address, node.Version)
|
fmt.Fprintf(writer, " * %s (%v) %v\n", node.Address, node.Version, time.Unix(0, node.CreatedAtNs).UTC())
|
||||||
if node.DataCenter != "" {
|
if node.DataCenter != "" {
|
||||||
fmt.Fprintf(writer, " DataCenter: %v\n", node.DataCenter)
|
fmt.Fprintf(writer, " DataCenter: %v\n", node.DataCenter)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue