mirror of https://github.com/k3s-io/k3s
cluster: fix gcloud check for python3
Introduced in #36292, breaks anyone who uses a reasonable/recent python versionpull/6/head
parent
1e09f64a25
commit
bf1dcd8d6b
|
@ -994,7 +994,7 @@ required = [ "alpha", "beta", "core" ]
|
|||
data = json.loads(sys.argv[1])
|
||||
rel = data.get("Google Cloud SDK")
|
||||
if rel != "HEAD" and version.LooseVersion(rel) < minVersion:
|
||||
print "gcloud version out of date ( < %s )" % minVersion
|
||||
print("gcloud version out of date ( < %s )" % minVersion)
|
||||
exit(1)
|
||||
missing = []
|
||||
for c in required:
|
||||
|
|
Loading…
Reference in New Issue