mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
[ADD] container created time
This commit is contained in:
parent
97fcaeec7b
commit
6b9d5ee43b
@ -527,7 +527,7 @@ func getContainerIDAndState(status corev1.ContainerStatus) (cid, s string) {
|
||||
state := status.State
|
||||
containerID := status.ContainerID
|
||||
if state.Running != nil {
|
||||
s = "Running"
|
||||
s = fmt.Sprintf("Running(%s)", state.Running.StartedAt.Format(time.RFC3339))
|
||||
}
|
||||
if state.Waiting != nil {
|
||||
s = "Waiting"
|
||||
|
Loading…
Reference in New Issue
Block a user