We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a103e7 + ce14109 commit 9315bf4Copy full SHA for 9315bf4
1 file changed
openstackclient/identity/common.py
@@ -33,17 +33,6 @@
33
from openstackclient.i18n import _
34
35
36
-def find_service_in_list(service_list: list[Any], service_id: str) -> Any:
37
- """Find a service by id in service list."""
38
-
39
- for service in service_list:
40
- if service.id == service_id:
41
- return service
42
- raise exceptions.CommandError(
43
- f"No service with a type, name or ID of '{service_id}' exists."
44
- )
45
46
47
def find_service(identity_client: Any, name_type_or_id: str) -> Any:
48
"""Find a service by id, name or type."""
49
0 commit comments