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
commit ce65fdd26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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