Merge "Update Nova API microversion in nova_client.py."

This commit is contained in:
Zuul 2020-04-06 12:58:13 +00:00 committed by Gerrit Code Review
commit 5ef66ad8a0

View File

@ -23,8 +23,7 @@ LOG = logging.getLogger(__name__)
class NovaAPI(object):
def __init__(self):
self.nova_client = utils.get_sdk_adapter('compute')
# TODO(Sundar): change the version to 2.82 once Nova patches merge.
self.nova_client.default_microversion = 'latest'
self.nova_client.default_microversion = '2.82'
def _get_acc_changed_events(self, instance_uuid, arq_bind_statuses):
return [{'name': 'accelerator-request-bound',