Skip to content

Commit

Permalink
fix listener utils error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorj committed Dec 3, 2021
1 parent 0b5c5bd commit 27de793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/deploy/elbv2/listener_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ func buildSDKActions(modelActions []elbv2model.Action, featureGates config.Featu
sdkActions = make([]*elbv2sdk.Action, 0, len(modelActions))
for index, modelAction := range modelActions {
sdkAction, err := buildSDKAction(modelAction, featureGates)
sdkAction.Order = awssdk.Int64(int64(index) + 1)
if err != nil {
return nil, err
}
sdkAction.Order = awssdk.Int64(int64(index) + 1)
sdkActions = append(sdkActions, sdkAction)
}
}
Expand Down

0 comments on commit 27de793

Please sign in to comment.