From e8b76ecec1803cf815be06d9f1849e15b491f47d Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:10:08 -0500 Subject: [PATCH] Add example svc to service_type --- ansible_base/resource_registry/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_base/resource_registry/registry.py b/ansible_base/resource_registry/registry.py index a55a9cccc..816b03358 100644 --- a/ansible_base/resource_registry/registry.py +++ b/ansible_base/resource_registry/registry.py @@ -97,7 +97,7 @@ def _validate_api_config(self, config): - Viewsets have the correct serializer, pagination and filter classes - Service type is set to one of awx, galaxy, eda or aap """ - assert config.service_type in ["aap", "awx", "galaxy", "eda"] + assert config.service_type in ["aap", "awx", "galaxy", "eda", "example"] def get_resources(self): return self.registry