summaryrefslogtreecommitdiff
path: root/cmd/podman/machine
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-25 16:36:01 -0400
committerGitHub <noreply@github.com>2022-04-25 16:36:01 -0400
commit05bdb4139a02eb35220c23b8ae8fe355f6d91406 (patch)
tree59e3b673f018d25dde266b158c6b799c65c603f6 /cmd/podman/machine
parent181c9d3ee3ad4820b9ae91f1f02faf7b9e65fc87 (diff)
parent833456e079c31111a15fedaa3ccd7f852e89e508 (diff)
downloadpodman-05bdb4139a02eb35220c23b8ae8fe355f6d91406.tar.gz
podman-05bdb4139a02eb35220c23b8ae8fe355f6d91406.tar.bz2
podman-05bdb4139a02eb35220c23b8ae8fe355f6d91406.zip
Merge pull request #13942 from baude/machinetests
Add podman machine test suite
Diffstat (limited to 'cmd/podman/machine')
-rw-r--r--cmd/podman/machine/init.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/podman/machine/init.go b/cmd/podman/machine/init.go
index 2d0afbf05..4991c6aa3 100644
--- a/cmd/podman/machine/init.go
+++ b/cmd/podman/machine/init.go
@@ -135,7 +135,6 @@ func initMachine(cmd *cobra.Command, args []string) error {
if err != nil {
return err
}
-
if finished, err := vm.Init(initOpts); err != nil || !finished {
// Finished = true, err = nil - Success! Log a message with further instructions
// Finished = false, err = nil - The installation is partially complete and podman should
@@ -144,7 +143,6 @@ func initMachine(cmd *cobra.Command, args []string) error {
// - a user has chosen to perform their own reboot
// - reexec for limited admin operations, returning to parent
// Finished = *, err != nil - Exit with an error message
-
return err
}
fmt.Println("Machine init complete")