From b076cb00a968f2fe5b65cbe1ad8b328fd03b030c Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:05:24 -0400 Subject: Revert "Implement project pulling from Azure DevOps using Service Priā€¦ (#14977) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert "Implement project pulling from Azure DevOps using Service Principals (#14628)" This reverts commit 2e2cd7f2de52a02a7bbf343f26bf8d0177dcdec3. --- awxkit/awxkit/api/pages/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awxkit') diff --git a/awxkit/awxkit/api/pages/projects.py b/awxkit/awxkit/api/pages/projects.py index 845d112cea..125f452637 100644 --- a/awxkit/awxkit/api/pages/projects.py +++ b/awxkit/awxkit/api/pages/projects.py @@ -50,7 +50,7 @@ class Project(HasCopy, HasCreate, HasNotifications, UnifiedJobTemplate): def create_payload(self, name='', description='', scm_type='git', scm_url='', scm_branch='', organization=Organization, credential=None, **kwargs): if credential: if isinstance(credential, Credential): - if credential.ds.credential_type.namespace not in ('scm', 'insights', 'azure_rm'): + if credential.ds.credential_type.namespace not in ('scm', 'insights'): credential = None # ignore incompatible credential from HasCreate dependency injection elif credential in (Credential,): credential = (Credential, dict(credential_type=(True, dict(kind='scm')))) -- cgit v1.2.3