summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/endpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/identity/v3/endpoint.py')
-rw-r--r--openstackclient/identity/v3/endpoint.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/openstackclient/identity/v3/endpoint.py b/openstackclient/identity/v3/endpoint.py
index 2f1cc9f3..bd2df361 100644
--- a/openstackclient/identity/v3/endpoint.py
+++ b/openstackclient/identity/v3/endpoint.py
@@ -15,8 +15,6 @@
"""Identity v3 Endpoint action implementations"""
-import sys
-
from osc_lib.command import command
from osc_lib import utils
import six
@@ -212,12 +210,6 @@ class SetEndpoint(command.Command):
endpoint = utils.find_resource(identity_client.endpoints,
parsed_args.endpoint)
- if (not parsed_args.interface and not parsed_args.url
- and not parsed_args.service and not parsed_args.region
- and not parsed_args.enabled and not parsed_args.disabled):
- sys.stdout.write(_("Endpoint not updated, no arguments present\n"))
- return
-
service_id = None
if parsed_args.service:
service = common.find_service(identity_client, parsed_args.service)