diff options
| author | chrislu <chris.lu@gmail.com> | 2023-06-19 18:43:41 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-06-19 18:43:41 -0700 |
| commit | 1ce725728d0806aa1fd5015a73bd29f9f13ccf5e (patch) | |
| tree | 0001fe1a27bd4d2b7be73d2f45bfd279d11d0ef1 | |
| parent | 11549706ef0fa57fe10dbe74e2cf710163a0862a (diff) | |
| download | seaweedfs-1ce725728d0806aa1fd5015a73bd29f9f13ccf5e.tar.xz seaweedfs-1ce725728d0806aa1fd5015a73bd29f9f13ccf5e.zip | |
minor
| -rw-r--r-- | weed/shell/command_cluster_ps.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_cluster_ps.go b/weed/shell/command_cluster_ps.go index 2587db0d8..22925da5b 100644 --- a/weed/shell/command_cluster_ps.go +++ b/weed/shell/command_cluster_ps.go @@ -95,7 +95,7 @@ func (c *commandClusterPs) Do(args []string, commandEnv *CommandEnv, writer io.W filerSignatures := make(map[*master_pb.ListClusterNodesResponse_ClusterNode]int32) fmt.Fprintf(writer, "* filers %d\n", len(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 != "" { fmt.Fprintf(writer, " DataCenter: %v\n", node.DataCenter) } |
