fix(cron): make sure cron container only returns one container id #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "kolaente/pretix:fix/cron"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes a bug where another app with the same name was matched by the cron. For example, if the pretix stack is called
tickets_domain_deand there is another app with a name liketraefik-tickets_domain_dethe regex would match both and try to execute with the latter container (failing).oh, nasty issues! tysm for the find!
On second thought (but I would need to check this): maybe we could do this without the
docker psand pass the docker app name directly todocker exec?