diff options
author | Ashley Cui <acui@redhat.com> | 2022-04-27 16:56:48 -0400 |
---|---|---|
committer | openshift-cherrypick-robot <> | 2022-05-04 18:06:23 +0000 |
commit | d3f406e9f6fe3c33228d0f384f986982640d2f43 (patch) | |
tree | a1eee345deaeeca0efedbde48a8ce4d6fe32af16 /cmd/podman/machine/set.go | |
parent | c4357f0f7b7a032908abfab358616d82163eaf9e (diff) | |
download | podman-d3f406e9f6fe3c33228d0f384f986982640d2f43.tar.gz podman-d3f406e9f6fe3c33228d0f384f986982640d2f43.tar.bz2 podman-d3f406e9f6fe3c33228d0f384f986982640d2f43.zip |
podman system reset removed machines incorrectly
podman system reset did not clean up machines fully, leaving some config
files, and breaking machines. Now it removes all machines files fully.
Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'cmd/podman/machine/set.go')
-rw-r--r-- | cmd/podman/machine/set.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/machine/set.go b/cmd/podman/machine/set.go index a994c981b..5777882da 100644 --- a/cmd/podman/machine/set.go +++ b/cmd/podman/machine/set.go @@ -83,7 +83,7 @@ func setMachine(cmd *cobra.Command, args []string) error { if len(args) > 0 && len(args[0]) > 0 { vmName = args[0] } - provider := getSystemDefaultProvider() + provider := GetSystemDefaultProvider() vm, err = provider.LoadVMByName(vmName) if err != nil { return err |