Use only_contrib option for nova_client calls
Use the only_contrib option that was added by I030f4c55c2795c7f7973f5f12e54b9819c4a5578 to speed up nova_client calls and skip the search for nova_client extensions to reduce /var/log/audit noise. Change-Id: Ic97b342a3633ffdf05b02ddd81baad88e1605a75 Closes-Bug: #1509500
This commit is contained in:
parent
3d6cb95f19
commit
1db573ff12
@ -57,7 +57,8 @@ class Notifier(object):
|
||||
auth=auth)
|
||||
|
||||
extensions = [
|
||||
ext for ext in nova_client.discover_extensions(NOVA_API_VERSION)
|
||||
ext for ext in nova_client.discover_extensions(NOVA_API_VERSION,
|
||||
only_contrib=True)
|
||||
if ext.name == "server_external_events"]
|
||||
self.nclient = nova_client.Client(
|
||||
NOVA_API_VERSION,
|
||||
|
Loading…
Reference in New Issue
Block a user