summaryrefslogtreecommitdiff
path: root/cmd/podman/machine
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-18 12:38:40 +0100
committerGitHub <noreply@github.com>2022-03-18 12:38:40 +0100
commitb0fefb3e8fea73114b7401a098cf32f6443448d3 (patch)
tree50aaad2dc8b3d28d8365a9b9d3a512c734a565b7 /cmd/podman/machine
parentf8b04bf56c44411e39e355446c4a311dc9fcb373 (diff)
parent3c968c3d22e01724bd9b1651b32ce23a235f3f4d (diff)
downloadpodman-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.go4
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