fix lint
This commit is contained in:
@@ -127,6 +127,7 @@ func (c *aggrChannel) Send(ctx context.Context, receiver Receiver, group *route.
|
||||
if receiver.Webhook != nil && c.webhook != nil {
|
||||
return c.send(ctx, receiver, group, c.webhook, "webhook")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -537,7 +537,7 @@ func TestConfig_Validate(t *testing.T) {
|
||||
},
|
||||
},
|
||||
wantErr: true,
|
||||
errMsg: "invalid sub_route: invalid matcher: invalid matcher",
|
||||
errMsg: "invalid sub_route: invalid matchers: new label filter",
|
||||
},
|
||||
{
|
||||
name: "Valid nested sub-route",
|
||||
|
||||
Reference in New Issue
Block a user