chore: Move shared to lib/ for AWS (#1321)

* chore: Move shared to lib/

* chore: Move shared to lib/ for AWS

Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
This commit is contained in:
Pepe Fagoaga
2022-08-22 11:41:09 +02:00
committed by GitHub
parent d18b430c16
commit c7a43b09ce
21 changed files with 215 additions and 198 deletions

View File

@@ -150,7 +150,8 @@ def recover_checks_from_provider(provider: str, service: str = None) -> list:
for module_name in modules:
# Format: "providers.{provider}.services.{service}.{check_name}.{check_name}"
check_name = module_name.name
if check_name.count(".") == 5:
# We need to exclude common shared libraries in services
if check_name.count(".") == 5 and "lib" not in check_name:
checks.append(check_name)
return checks