X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Finfra_setup%2Fheat%2Fcommon.py;h=ab0dadf5e0c51b315f697745493f09713dc00d38;hb=08b12e7a7f0b5971282c371b0d0b9320030f3874;hp=28257ac71084a2faf31438a2f9f59cfb5b933289;hpb=90aee324d326a25ba79b83bf8aceb3bcf3feea9b;p=bottlenecks.git diff --git a/utils/infra_setup/heat/common.py b/utils/infra_setup/heat/common.py index 28257ac7..ab0dadf5 100755 --- a/utils/infra_setup/heat/common.py +++ b/utils/infra_setup/heat/common.py @@ -97,6 +97,7 @@ def get_heat_api_version(): return api_version return DEFAULT_HEAT_API_VERSION + def get_nova_api_version(): api_version = os.getenv('OS_COMPUTE_API_VERSION') if api_version is not None: @@ -110,4 +111,4 @@ def get_glance_api_version(): if api_version is not None: log.info("GLANCE_API_VERSION is set in env as '%s'", api_version) return api_version - return DEFAULT_GLANCE_API_VERSION \ No newline at end of file + return DEFAULT_GLANCE_API_VERSION