mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #25518 from euank/cluster-common-python3
cluster: make gen-uid python3 compatible
This commit is contained in:
commit
e7ab3a39d1
@ -209,7 +209,7 @@ function gen-kube-bearertoken() {
|
||||
# Vars set:
|
||||
# KUBE_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])')
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user