diff options
author | Ashley Cui <acui@redhat.com> | 2022-09-23 11:52:07 -0400 |
---|---|---|
committer | Ashley Cui <acui@redhat.com> | 2022-09-23 11:52:07 -0400 |
commit | 3a5b5d04bba49c696b8d95c10978f3aa1c562d04 (patch) | |
tree | c39ded989f23b301453e4ba681a985ecd9cb52c3 /cmd | |
parent | 25dc2759e10bf0293f14a2205291ab7dd53eccf4 (diff) | |
download | podman-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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/machine/list.go | 1 |
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) } |