mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-28 15:29:32 +00:00
Fix filter cli attribute name (#1103)
Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -51,7 +51,7 @@ func loop(c *cli.Context) error {
|
|||||||
"repo": "*", // allow all repos by default
|
"repo": "*", // allow all repos by default
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, v := range c.StringSlice("filter-labels") {
|
for _, v := range c.StringSlice("filter") {
|
||||||
parts := strings.SplitN(v, "=", 2)
|
parts := strings.SplitN(v, "=", 2)
|
||||||
labels[parts[0]] = parts[1]
|
labels[parts[0]] = parts[1]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user