runtime.Object in routerTransform

Co-authored-by: lbenguigui <lbenguigui@gmail.com>
This commit is contained in:
Julien Salleyron 2024-03-15 09:24:03 +01:00 committed by GitHub
parent 7bda07a422
commit d582e01892
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 4 deletions

View file

@ -73,7 +73,7 @@ func (p *Provider) applyRouterTransform(ctx context.Context, rt *dynamic.Router,
return
}
err := p.routerTransform.Apply(ctx, rt, route.Annotations)
err := p.routerTransform.Apply(ctx, rt, route)
if err != nil {
log.Ctx(ctx).Error().Err(err).Msg("Apply router transform")
}