mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-09 09:05:26 +00:00
commit
909053ba5b
2 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@ func loop(c *cli.Context) error {
|
|||
Labels: map[string]string{
|
||||
"platform": c.String("platform"),
|
||||
},
|
||||
Expr: c.String("drone-filter"),
|
||||
Expr: c.String("filter"),
|
||||
}
|
||||
|
||||
hostname := c.String("hostname")
|
||||
|
|
|
@ -527,6 +527,7 @@ func (s *DroneServer) Next(c oldcontext.Context, req *proto.NextRequest) (*proto
|
|||
}
|
||||
filter := rpc.Filter{
|
||||
Labels: req.GetFilter().GetLabels(),
|
||||
Expr: req.GetFilter().GetExpr(),
|
||||
}
|
||||
|
||||
res := new(proto.NextReply)
|
||||
|
|
Loading…
Reference in a new issue