Skip to content

Commit 6dfa304

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Allow int version numbers in the clouds.yaml"
2 parents 1cf09be + 2f00fcd commit 6dfa304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def initialize_app(self, argv):
280280
for mod in clientmanager.PLUGIN_MODULES:
281281
default_version = getattr(mod, 'DEFAULT_API_VERSION', None)
282282
option = mod.API_VERSION_OPTION.replace('os_', '')
283-
version_opt = self.cloud.config.get(option, default_version)
283+
version_opt = str(self.cloud.config.get(option, default_version))
284284
if version_opt:
285285
api = mod.API_NAME
286286
self.api_version[api] = version_opt

0 commit comments

Comments
 (0)