diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-07-13 19:28:11 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-07-14 14:12:30 +0800 |
| commit | e5a3c403e5982df8ab6a29d84c45aa2f8f3a10dc (patch) | |
| tree | 2d7193578982da96f0de34625e869b415a472bec /openstackclient/identity/v3/endpoint.py | |
| parent | 5a21eb25558c4820bdf1eec3f0d25fca00e7fd24 (diff) | |
| download | python-openstackclient-e5a3c403e5982df8ab6a29d84c45aa2f8f3a10dc.tar.gz | |
Make set/unset commands pass normally when nothing specified in identityv3
Change-Id: I554b41969f96b62a2c6d37024caa56b1441d5ed1
Partial-bug: #1588588
Diffstat (limited to 'openstackclient/identity/v3/endpoint.py')
| -rw-r--r-- | openstackclient/identity/v3/endpoint.py | 8 |
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) |
