summaryrefslogtreecommitdiff
path: root/cmd/podman/machine/machine.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-04 13:20:09 -0400
committerGitHub <noreply@github.com>2022-05-04 13:20:09 -0400
commitad93318370c8201367ef80042a3c91ff50389e16 (patch)
tree2c4301b7d232e5a895d7463a21b8c2b59cc9fb0a /cmd/podman/machine/machine.go
parent5c8277d943afdfd62f5713672f389abf2ad8b097 (diff)
parent80744c644135899a6dcc9fbe1b421dc08fc79802 (diff)
downloadpodman-ad93318370c8201367ef80042a3c91ff50389e16.tar.gz
podman-ad93318370c8201367ef80042a3c91ff50389e16.tar.bz2
podman-ad93318370c8201367ef80042a3c91ff50389e16.zip
Merge pull request #14066 from ashley-cui/sysres
podman system reset removed machines incorrectly
Diffstat (limited to 'cmd/podman/machine/machine.go')
-rw-r--r--cmd/podman/machine/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/machine/machine.go b/cmd/podman/machine/machine.go
index cf7542389..553f1ef7a 100644
--- a/cmd/podman/machine/machine.go
+++ b/cmd/podman/machine/machine.go
@@ -64,7 +64,7 @@ func autocompleteMachine(cmd *cobra.Command, args []string, toComplete string) (
func getMachines(toComplete string) ([]string, cobra.ShellCompDirective) {
suggestions := []string{}
- provider := getSystemDefaultProvider()
+ provider := GetSystemDefaultProvider()
machines, err := provider.List(machine.ListOptions{})
if err != nil {
cobra.CompErrorln(err.Error())