1
0
mirror of synced 2026-01-06 06:04:16 -05:00

🐛 Source Gitlab: allow container_expiration_policy to be nullable + fix null projects list (#11907)

* allow nullable container_expiration_policy

* Update Dockerfile

* Update source_definitions.yaml

* Update source_specs.yaml

* fix unspecified projects

* add doc update

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
This commit is contained in:
jordan-glitch
2022-05-03 07:44:21 +10:00
committed by GitHub
parent 35023be5b0
commit 98e5953d8d
6 changed files with 6 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ class SourceGitlab(AbstractSource):
auth = TokenAuthenticator(token=config["private_token"])
auth_params = dict(authenticator=auth, api_url=config["api_url"])
pids = list(filter(None, config.get("projects").split(" ")))
pids = list(filter(None, config.get("projects", "").split(" ")))
gids = config.get("groups")
if gids: