Skip to content

Commit 6c706b0

Browse files
authored
fix error handling of load balancer deletion (#2783)
1 parent 9e6c703 commit 6c706b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/deploy/elbv2/load_balancer_synthesizer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ func (s *loadBalancerSynthesizer) Synthesize(ctx context.Context) error {
6868
if err = s.lbManager.Delete(ctx, sdkLB); err != nil {
6969
return err
7070
}
71+
} else {
72+
return err
7173
}
7274
}
7375
}

0 commit comments

Comments
 (0)