ctl: accept non-string variables during hobo deploy (#37833)
This commit is contained in:
parent
14c43d7fbc
commit
066824a03d
|
@ -434,6 +434,8 @@ class CmdCheckHobos(Command):
|
||||||
config.add_section('variables')
|
config.add_section('variables')
|
||||||
for key, value in variables.items():
|
for key, value in variables.items():
|
||||||
key = force_str(key)
|
key = force_str(key)
|
||||||
|
if not isinstance(value, six.string_types):
|
||||||
|
value = str(value)
|
||||||
value = force_str(value)
|
value = force_str(value)
|
||||||
config.set('variables', key, value)
|
config.set('variables', key, value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue