mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-07 17:12:16 +02:00
wip
This commit is contained in:
@@ -3,7 +3,7 @@ package v1alpha1
|
||||
import "strings"
|
||||
|
||||
func IsVersionAllowed(resourceVersion, buildVersion string) bool {
|
||||
if buildVersion == "dev" || resourceVersion == buildVersion || strings.HasPrefix(buildVersion, "canary-") {
|
||||
if resourceVersion == buildVersion || buildVersion == "dev" || strings.HasPrefix(buildVersion, "canary-") {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user