mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Merge pull request #25518 from euank/cluster-common-python3
cluster: make gen-uid python3 compatible
This commit is contained in:
@@ -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])')
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user