Remove incorrect 'raise'.
Fixes bug 1096102. Change-Id: Ibcdccd949566f47bb516c7562149d6b0100fce18
This commit is contained in:
parent
c1ea298904
commit
df34db8afb
@ -211,8 +211,6 @@ class ShowEndpoint(show.ShowOne):
|
|||||||
msg = "No service with a type, name or ID of '%s' exists" \
|
msg = "No service with a type, name or ID of '%s' exists" \
|
||||||
% parsed_args.service
|
% parsed_args.service
|
||||||
raise exceptions.CommandError(msg)
|
raise exceptions.CommandError(msg)
|
||||||
else:
|
|
||||||
raise
|
|
||||||
|
|
||||||
data = identity_client.endpoints.list()
|
data = identity_client.endpoints.list()
|
||||||
for ep in data:
|
for ep in data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user