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