Merge "Fix kube token create with string join error"

This commit is contained in:
Zuul 2018-03-27 13:18:34 +00:00 committed by Gerrit Code Review
commit 0b01e8ceba
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def GenKubeToken():
string.digits + string.ascii_lowercase) for i in range(6)])
token_secret = ''.join([random.choice(
string.digits + string.ascii_lowercase) for i in range(16)])
token = '.'.join(token_id, token_secret)
token = '.'.join([token_id, token_secret])
return token