We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532dd82 commit 809ae6fCopy full SHA for 809ae6f
internal/pkg/labels/labels.go
@@ -75,11 +75,11 @@ func (l Labels) PickPlatform(runsOn []string) string {
75
// ["with-gpu"] => "linux:with-gpu"
76
// ["ubuntu-22.04", "with-gpu"] => "ubuntu:22.04_with-gpu"
77
78
- // return default.
+ // return invalid.
79
// So the runner receives a task with a label that the runner doesn't have,
80
// it happens when the user have edited the label of the runner in the web UI.
81
// TODO: it may be not correct, what if the runner is used as host mode only?
82
- return ""
+ return "invalid"
83
}
84
85
func (l Labels) Names() []string {
0 commit comments