aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2022-09-23 11:52:07 -0400
committerAshley Cui <acui@redhat.com>2022-09-23 11:52:07 -0400
commit3a5b5d04bba49c696b8d95c10978f3aa1c562d04 (patch)
treec39ded989f23b301453e4ba681a985ecd9cb52c3
parent25dc2759e10bf0293f14a2205291ab7dd53eccf4 (diff)
downloadpodman-3a5b5d04bba49c696b8d95c10978f3aa1c562d04.tar.gz
podman-3a5b5d04bba49c696b8d95c10978f3aa1c562d04.tar.bz2
podman-3a5b5d04bba49c696b8d95c10978f3aa1c562d04.zip
Fix machine starting state
Machine starting now is correctly displayed on podman machine list --format json [NO NEW TESTS NEEDED] Signed-off-by: Ashley Cui <acui@redhat.com>
-rw-r--r--cmd/podman/machine/list.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/machine/list.go b/cmd/podman/machine/list.go
index ddc9ce246..26db5e1a4 100644
--- a/cmd/podman/machine/list.go
+++ b/cmd/podman/machine/list.go
@@ -177,6 +177,7 @@ func toMachineFormat(vms []*machine.ListResponse) ([]*entities.ListReporter, err
response.Port = vm.Port
response.RemoteUsername = vm.RemoteUsername
response.IdentityPath = vm.IdentityPath
+ response.Starting = vm.Starting
machineResponses = append(machineResponses, response)
}