diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-18 12:38:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 12:38:40 +0100 |
commit | b0fefb3e8fea73114b7401a098cf32f6443448d3 (patch) | |
tree | 50aaad2dc8b3d28d8365a9b9d3a512c734a565b7 /cmd/podman/machine | |
parent | f8b04bf56c44411e39e355446c4a311dc9fcb373 (diff) | |
parent | 3c968c3d22e01724bd9b1651b32ce23a235f3f4d (diff) | |
download | podman-b0fefb3e8fea73114b7401a098cf32f6443448d3.tar.gz podman-b0fefb3e8fea73114b7401a098cf32f6443448d3.tar.bz2 podman-b0fefb3e8fea73114b7401a098cf32f6443448d3.zip |
Merge pull request #13523 from n1hility/tolerate-old-machine
Tolerate old machine images, but warn they should be recreated
Diffstat (limited to 'cmd/podman/machine')
-rw-r--r-- | cmd/podman/machine/start.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/podman/machine/start.go b/cmd/podman/machine/start.go index 16faa25ef..56acb09cb 100644 --- a/cmd/podman/machine/start.go +++ b/cmd/podman/machine/start.go @@ -57,10 +57,6 @@ func start(cmd *cobra.Command, args []string) error { } return errors.Wrapf(machine.ErrMultipleActiveVM, "cannot start VM %s. VM %s is currently running", vmName, activeName) } - vm, err = provider.LoadVMByName(vmName) - if err != nil { - return err - } fmt.Printf("Starting machine %q\n", vmName) if err := vm.Start(vmName, machine.StartOptions{}); err != nil { return err |