diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py index a9a2e7a40b..cb06b6abbd 100644 --- a/openstackclient/identity/v2_0/endpoint.py +++ b/openstackclient/identity/v2_0/endpoint.py @@ -211,8 +211,6 @@ class ShowEndpoint(show.ShowOne): msg = "No service with a type, name or ID of '%s' exists" \ % parsed_args.service raise exceptions.CommandError(msg) - else: - raise data = identity_client.endpoints.list() for ep in data: