未验证 提交 6f096de7 编写于 作者: M Medya Ghazizadeh 提交者: GitHub

Merge pull request #9900 from afbjorklund/podman2-warning

Remove warning for using podman v2 with driver
......@@ -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}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册