Skip to content

Commit 93bb405

Browse files
Kamil PrzybylKamil Przybyl
authored andcommitted
fix: nil pointer dereference when get load balancer fails
1 parent 7af9e33 commit 93bb405

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/alb/ingress/update.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ func (r *IngressClassReconciler) applyALB(ctx context.Context, alb *albsdk.Creat
2020
}
2121
return nil
2222
}
23+
return fmt.Errorf("failed to get load balancer: %w", err)
2324
}
2425

2526
if !updateNeeded(responseAlb, alb) {

0 commit comments

Comments
 (0)