Merge pull request #3647 from ryanpetrello/cred-namespace-api

expose CredentialType.namespace in the API

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-04-09 11:50:01 +00:00
committed by GitHub

View File

@@ -2494,7 +2494,7 @@ class CredentialTypeSerializer(BaseSerializer):
class Meta: class Meta:
model = CredentialType model = CredentialType
fields = ('*', 'kind', 'name', 'managed_by_tower', 'inputs', fields = ('*', 'kind', 'namespace', 'name', 'managed_by_tower', 'inputs',
'injectors') 'injectors')
def validate(self, attrs): def validate(self, attrs):