Skip to content

Commit 595937b

Browse files
Add example svc to service_type (ansible#651)
https://github.com/ansible/platform-service-template/ establish a minimal example svc that can work with the platform and we want to add the example as a service_type
1 parent 90742d9 commit 595937b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible_base/resource_registry/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _validate_api_config(self, config):
9797
- Viewsets have the correct serializer, pagination and filter classes
9898
- Service type is set to one of awx, galaxy, eda or aap
9999
"""
100-
assert config.service_type in ["aap", "awx", "galaxy", "eda"]
100+
assert config.service_type in ["aap", "awx", "galaxy", "eda", "example"]
101101

102102
def get_resources(self):
103103
return self.registry

0 commit comments

Comments
 (0)