Set OS_BACKUP_API_VERSION to v1

Setting OS_BACKUP_API_VERSION defaults to 1 as the api v2 is not
stable yet.

Change-Id: Icf5b4e310955306b6a42ef1f51fad1957e71d26a
This commit is contained in:
Saad Zaher 2017-06-30 14:47:12 +01:00
parent 274ea3737f
commit 35dffdf231
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def check_api_version():
2: multi-tenant, useful for backup as a service
:return: str
"""
freezer_api_version = os.environ.get('OS_BACKUP_API_VERSION', '2')
freezer_api_version = os.environ.get('OS_BACKUP_API_VERSION', '1')
if freezer_api_version == '1':
return '1'
elif freezer_api_version == '2':