Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! test: decreased ha replicas to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
fra98 committed Nov 14, 2024
1 parent 53d17fb commit 0d6dbfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func (r *WgGatewayClientReconciler) handleInternalEndpointStatus(ctx context.Con
if len(podList.Items) != 1 {
err := fmt.Errorf("wrong number of pods for deployment %s/%s: %d (must be 1)", dep.Namespace, dep.Name, len(podList.Items))
klog.Error(err)
return err
return nil
}

if podList.Items[0].Status.PodIP == "" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func (r *WgGatewayServerReconciler) forgeEndpointStatusNodePort(ctx context.Cont
if len(podList.Items) != 1 {
err := fmt.Errorf("wrong number of pods for deployment %s/%s: %d (must be 1)", dep.Namespace, dep.Name, len(podList.Items))
klog.Error(err)
return nil, nil, err
return nil, nil, nil
}

pod := &podList.Items[0]
Expand Down

0 comments on commit 0d6dbfd

Please sign in to comment.