diff options
| author | Jamie Lennox <jamielennox@redhat.com> | 2014-04-04 08:09:43 +1000 |
|---|---|---|
| committer | Jamie Lennox <jamielennox@redhat.com> | 2014-04-04 08:09:43 +1000 |
| commit | 022b6d95d167405fa6534680c8a7fe449b35ce77 (patch) | |
| tree | a5946810a71acc78f9df8e66cd1a1c91997f8e3a /openstackclient/identity/v3/domain.py | |
| parent | ee22070473dab8bfa3e89d47f1f5a77918c2b026 (diff) | |
| download | python-openstackclient-022b6d95d167405fa6534680c8a7fe449b35ce77.tar.gz | |
Pass arguments to v3 keystoneclient by kwarg
Keystoneclient has added the positional decorator which emits a warning
if arguments aren't passed by keyword. This means we are getting
warnings in certain places in openstackclient.
Change-Id: Ic5446cd6f122cbb56fce543011386d53bc31fe18
Closes-Bug: #1302199
Diffstat (limited to 'openstackclient/identity/v3/domain.py')
| -rw-r--r-- | openstackclient/identity/v3/domain.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/identity/v3/domain.py b/openstackclient/identity/v3/domain.py index 1e9a4a2a..a74b12e2 100644 --- a/openstackclient/identity/v3/domain.py +++ b/openstackclient/identity/v3/domain.py @@ -61,8 +61,8 @@ class CreateDomain(show.ShowOne): self.log.debug('take_action(%s)' % parsed_args) identity_client = self.app.client_manager.identity domain = identity_client.domains.create( - parsed_args.name, - parsed_args.description, + name=parsed_args.name, + description=parsed_args.description, enabled=parsed_args.enabled, ) |
