BaremetalIntrospectionAction get endpoint by service_type
Closes-Bug: #1541041 Change-Id: I4107e0ceabb3ebd8801404047805a8f06b605bdb
This commit is contained in:
parent
ef4f197804
commit
bc52b58671
|
@ -302,7 +302,8 @@ class BaremetalIntrospectionAction(base.OpenStackAction):
|
|||
LOG.debug("Baremetal introspection action security context: %s" % ctx)
|
||||
|
||||
inspector_endpoint = keystone_utils.get_endpoint_for_project(
|
||||
'baremetal-introspection')
|
||||
service_type='baremetal-introspection'
|
||||
)
|
||||
|
||||
return self._client_class(
|
||||
api_version=1,
|
||||
|
|
Loading…
Reference in New Issue