Skip to content

Commit

Permalink
Fix supervisor repository regex
Browse files Browse the repository at this point in the history
Update the supervisor repository regex so the supervisor version can be
correctly extracted from the images.

Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
  • Loading branch information
alexgg committed Jun 7, 2021
1 parent 3706403 commit 623f73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preload.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"flash-boot", # flasher images
]

SUPERVISOR_REPOSITORY_RE = "^resin(playground)?/[a-z0-9]+-supervisor$"
SUPERVISOR_REPOSITORY_RE = "^(balena|resin)?(playground)?/?[a-z0-9]+-supervisor$"

# 'sh' module '_truncate_exc' option:
# http://amoffat.github.io/sh/sections/special_arguments.html#truncate-exc
Expand Down

0 comments on commit 623f73d

Please sign in to comment.