Skip to content

Commit

Permalink
fix-linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cainelli committed Apr 3, 2024
1 parent db90e1a commit 3eb154b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/unit/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func GetRoute(input parser.Input, virtualServices []*v1alpha3.VirtualService, ch
return &networkingv1alpha3.HTTPRoute{}, nil
}

// GetDelegatedVirtualService returns the virtualservice matching namespace/name matching the delegate argument.
func GetDelegatedVirtualService(delegate *networkingv1alpha3.Delegate, virtualServices []*v1alpha3.VirtualService) (*v1alpha3.VirtualService, error) {
for _, vs := range virtualServices {
if vs.Name == delegate.Name {
Expand Down

0 comments on commit 3eb154b

Please sign in to comment.