This commit is contained in:
chrislu 2023-06-19 18:43:41 -07:00
parent 11549706ef
commit 1ce725728d

View file

@ -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)
} }