Merge pull request #818 from baude/ps_command

cmd/kpod/ps.go: Use getCommand for JSON
This commit is contained in:
Mrunal Patel 2017-08-30 09:59:02 -07:00 committed by GitHub
commit 173d56cc67

View file

@ -298,7 +298,7 @@ func getJSONOutput(containers []*libkpod.ContainerData) (psOutput []psJSONParams
ID: ctr.ID,
Image: ctr.FromImage,
ImageID: ctr.FromImageID,
Command: ctr.ImageCreatedBy,
Command: getCommand(ctr.ImageCreatedBy),
CreatedAt: ctr.State.Created,
RunningFor: time.Since(ctr.State.Created),
Status: ctr.State.Status,