diff options
author | softwarefactory-project-zuul[bot] <33884098+softwarefactory-project-zuul[bot]@users.noreply.github.com> | 2020-06-23 20:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 20:31:50 +0200 |
commit | 69589821ce2fd49c8db8b60bf34ff6b4b0df683a (patch) | |
tree | 52caaa562a61f460ea874e08997be6737a743711 | |
parent | Merge pull request #7416 from jakemcdermott/fix-cred-user-team-org-save (diff) | |
parent | Update awxkit credential creation (diff) | |
download | awx-69589821ce2fd49c8db8b60bf34ff6b4b0df683a.tar.xz awx-69589821ce2fd49c8db8b60bf34ff6b4b0df683a.zip |
Merge pull request #7420 from elyezer/update-credential-creation13.0.0
Update awxkit credential creation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
-rw-r--r-- | awxkit/awxkit/api/pages/credentials.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awxkit/awxkit/api/pages/credentials.py b/awxkit/awxkit/api/pages/credentials.py index 88f89dd3b3..d5ba0c4d05 100644 --- a/awxkit/awxkit/api/pages/credentials.py +++ b/awxkit/awxkit/api/pages/credentials.py @@ -310,7 +310,7 @@ class Credential(HasCopy, HasCreate, base.Base): credential_type=CredentialType, user=None, team=None, - organization=Organization, + organization=None, inputs=None, **kwargs): payload = self.create_payload( @@ -323,7 +323,7 @@ class Credential(HasCopy, HasCreate, base.Base): return self.update_identity( Credentials( self.connection)).post(payload) - + def test(self, data): """Test the credential endpoint.""" response = self.connection.post(urljoin(str(self.url), 'test/'), data) |