This commit is contained in:
glidea
2025-06-05 23:46:54 +08:00
parent d520444e9f
commit ef2c44438c
7 changed files with 18 additions and 12 deletions

View File

@@ -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
}

View File

@@ -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",