Skip to content

Commit

Permalink
add node annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Romanenko <[email protected]>
  • Loading branch information
RomanenkoDenys committed Apr 20, 2024
1 parent e6a098a commit 074a4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yapi/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (ySvc *LoadBalancerService) GetTGsByClusterName(ctx context.Context, cluste
}

for _, tg := range result.TargetGroups {
if strings.HasPrefix(tg.Name, clusterName) {
if strings.Contains(tg.Name, clusterName) {
ret = append(ret, tg)
}
}
Expand Down

0 comments on commit 074a4a1

Please sign in to comment.