Remove warning for using podman v2 with driver

Being experimental is probably warning enough

Podman 2.1 should be similar to 1.9 in support
pull/9900/head
Anders F Björklund 2020-12-09 22:15:13 +01:00
parent 877f1553d8
commit 2591be695b
1 changed files with 0 additions and 6 deletions

View File

@ -41,9 +41,6 @@ import (
// minReqPodmanVer is required the minimum version of podman to be installed for podman driver.
var minReqPodmanVer = semver.Version{Major: 1, Minor: 7, Patch: 0}
// podmanVerTwo is required to exit with an error when podman v2 driver is currently installed because it is not supported yet.
var podmanVerTwo = semver.Version{Major: 2, Minor: 0, Patch: 0}
func init() {
priority := registry.Experimental
// Staged rollout for default:
@ -128,9 +125,6 @@ func status() registry.State {
if v.LT(minReqPodmanVer) {
out.WarningT(`The minimum required version for podman is "{{.minVersion}}". your version is "{{.currentVersion}}". minikube might not work. use at your own risk. To install latest version please see https://podman.io/getting-started/installation.html`,
out.V{"minVersion": minReqPodmanVer.String(), "currentVersion": v.String()})
} else if v.GTE(podmanVerTwo) {
out.WarningT(`Using podman 2 is not supported yet. your version is "{{.currentVersion}}". minikube might not work. use at your own risk.`,
out.V{"currentVersion": v.String()})
}
return registry.State{Installed: true, Healthy: true}