Andrew Bogott has submitted this change and it was merged.

Change subject: openstack: clean up a couple of trivial things in makedomain
......................................................................


openstack: clean up a couple of trivial things in makedomain

Change-Id: Ic881fc139e164e14853cd2edb1dcd419d4cced23
---
M modules/openstack/files/liberty/virtscripts/makedomain
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/openstack/files/liberty/virtscripts/makedomain 
b/modules/openstack/files/liberty/virtscripts/makedomain
index 11c055b..1c83599 100755
--- a/modules/openstack/files/liberty/virtscripts/makedomain
+++ b/modules/openstack/files/liberty/virtscripts/makedomain
@@ -29,8 +29,6 @@
 from designateclient.v2 import client
 
 def createdomain(url, user, password, project, domain, ttl=120):
-    args = argparser.parse_args()
-
     auth = generic.Password(
         auth_url=url,
         username=user,
@@ -44,7 +42,7 @@
         auth_url=url,
         username=user,
         password=password,
-        tenant_name=args.project)
+        tenant_name=project)
 
     targetSession = keystone_session.Session(auth=auth)
     targetClient = client.Client(session=targetSession)
@@ -93,7 +91,7 @@
     )
     argparser.add_argument(
         '--domain',
-        help='project for domain creation',
+        help='domain to create',
         required=True,
     )
 

-- 
To view, visit https://gerrit.wikimedia.org/r/278539
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic881fc139e164e14853cd2edb1dcd419d4cced23
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to