diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-09 13:54:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 13:54:24 +0200 |
commit | c1cb0162498038739d57b9b21a68eb7d93284056 (patch) | |
tree | e429ef1307436254261afb07b6299f56ee10e968 | |
parent | bd4d9a09520b2329b1cf3dd8cdf8194b8bdeab67 (diff) | |
parent | 5caf6b94e708afded3b9a86a71eb536496934024 (diff) | |
download | podman-c1cb0162498038739d57b9b21a68eb7d93284056.tar.gz podman-c1cb0162498038739d57b9b21a68eb7d93284056.tar.bz2 podman-c1cb0162498038739d57b9b21a68eb7d93284056.zip |
Merge pull request #11900 from afbjorklund/machine-table
Not all fields in machine list were set properly
-rw-r--r-- | cmd/podman/machine/list.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/machine/list.go b/cmd/podman/machine/list.go index 95b7d860f..7e5459e08 100644 --- a/cmd/podman/machine/list.go +++ b/cmd/podman/machine/list.go @@ -188,11 +188,13 @@ func toHumanFormat(vms []*machine.ListResponse) ([]*machineReporter, error) { response := new(machineReporter) if vm.Name == cfg.Engine.ActiveService { response.Name = vm.Name + "*" + response.Default = true } else { response.Name = vm.Name } if vm.Running { response.LastUp = "Currently running" + response.Running = true } else { response.LastUp = units.HumanDuration(time.Since(vm.LastUp)) + " ago" } |