Merge "Update Nova API microversion in nova_client.py."
This commit is contained in:
commit
5ef66ad8a0
@ -23,8 +23,7 @@ LOG = logging.getLogger(__name__)
|
|||||||
class NovaAPI(object):
|
class NovaAPI(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.nova_client = utils.get_sdk_adapter('compute')
|
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 = '2.82'
|
||||||
self.nova_client.default_microversion = 'latest'
|
|
||||||
|
|
||||||
def _get_acc_changed_events(self, instance_uuid, arq_bind_statuses):
|
def _get_acc_changed_events(self, instance_uuid, arq_bind_statuses):
|
||||||
return [{'name': 'accelerator-request-bound',
|
return [{'name': 'accelerator-request-bound',
|
||||||
|
Loading…
Reference in New Issue
Block a user