Skip to content

Commit 4460e6e

Browse files
committed
chore(status): rename runUpdate -> runUpdateIngressV1beta1
1 parent 9df75e6 commit 4460e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/ingress/status/status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (s *statusSync) updateStatus(ctx context.Context, newIngressPoint []apiv1.L
328328
batch := p.Batch()
329329

330330
for _, ing := range ings {
331-
batch.Queue(s.runUpdate(ctx, ing, newIngressPoint, s.CoreClient))
331+
batch.Queue(s.runUpdateIngressV1beta1(ctx, ing, newIngressPoint, s.CoreClient))
332332
}
333333
for _, ing := range tcpIngresses {
334334
batch.Queue(s.runUpdateTCPIngress(ctx, ing, newIngressPoint, s.KongConfigClient))
@@ -341,7 +341,7 @@ func (s *statusSync) updateStatus(ctx context.Context, newIngressPoint []apiv1.L
341341
batch.WaitAll()
342342
}
343343

344-
func (s *statusSync) runUpdate(ctx context.Context, ing *networkingv1beta1.Ingress, status []apiv1.LoadBalancerIngress,
344+
func (s *statusSync) runUpdateIngressV1beta1(ctx context.Context, ing *networkingv1beta1.Ingress, status []apiv1.LoadBalancerIngress,
345345
client clientset.Interface) pool.WorkFunc {
346346
return func(wu pool.WorkUnit) (interface{}, error) {
347347
if wu.IsCancelled() {

0 commit comments

Comments
 (0)