Commit e7ab3a39 authored by Jeff Lowdermilk's avatar Jeff Lowdermilk

Merge pull request #25518 from euank/cluster-common-python3

cluster: make gen-uid python3 compatible
parents 1661df45 fd26cb9e
...@@ -209,7 +209,7 @@ function gen-kube-bearertoken() { ...@@ -209,7 +209,7 @@ function gen-kube-bearertoken() {
# Vars set: # Vars set:
# KUBE_UID # KUBE_UID
function gen-uid { function gen-uid {
KUBE_UID=$(python -c 'import uuid; print uuid.uuid1().fields[0]') KUBE_UID=$(python -c 'import uuid; print(uuid.uuid1().fields[0])')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment