mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Fix filter cli attribute name (#1103)
Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
parent
fdf5fd3f69
commit
b7957c53aa
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue