From 9ec0e10484ef9732ba1c4bbb2a9e3620286a5ff3 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 23 Jun 2020 11:19:33 -0500 Subject: Add JSON output field for ps the toolbox team needs a field in our ps json that represents a human readable time. Signed-off-by: Brent Baude --- pkg/domain/entities/container_ps.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg') diff --git a/pkg/domain/entities/container_ps.go b/pkg/domain/entities/container_ps.go index c5e11f188..05627c4b3 100644 --- a/pkg/domain/entities/container_ps.go +++ b/pkg/domain/entities/container_ps.go @@ -15,6 +15,8 @@ type ListContainer struct { Command []string // Container creation time Created int64 + // Human readable container creation time. + CreatedAt string // If container has exited/stopped Exited bool // Time container exited -- cgit v1.2.3-54-g00ecf