Nix bug msg from ConfGroupForServiceTypeNotFound
Per [1], since it should actually be impossible in the current and projected usage of get_ksa_adapter, we remove "Please report this bug" from the ConfGroupForServiceTypeNotFound exception, and the corresponding docstring in get_ksa_adapter. [1] https://review.openstack.org/#/c/488137/22/nova/exception.py@973 Change-Id: Ifedf336f95ab3546b79d38c0e7cd8be5157a8a33
This commit is contained in:
@@ -1295,8 +1295,7 @@ def get_ksa_adapter(service_type, ksa_auth=None, ksa_session=None,
|
||||
min_version.
|
||||
:return: A keystoneauth1 Adapter object for the specified service_type.
|
||||
:raise: ConfGroupForServiceTypeNotFound If no conf group name could be
|
||||
found for the specified service_type. This should be considered a
|
||||
bug.
|
||||
found for the specified service_type.
|
||||
"""
|
||||
# Get the conf group corresponding to the service type.
|
||||
confgrp = _SERVICE_TYPES.get_project_name(service_type)
|
||||
|
||||
Reference in New Issue
Block a user