Skip to content

Commit

Permalink
fix error string
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorj committed Dec 3, 2021
1 parent 27de793 commit ded2882
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 @@ -56,7 +56,7 @@ func buildSDKAction(modelAction elbv2model.Action, featureGates config.FeatureGa
if len(forwardConfig.TargetGroups) == 1 {
sdkObj.TargetGroupArn = forwardConfig.TargetGroups[0].TargetGroupArn
} else {
return nil, errors.New("Weighted target groups feature is disabled.")
return nil, errors.New("weighted target groups feature is disabled")
}
} else {
sdkObj.ForwardConfig = forwardConfig
Expand Down

0 comments on commit ded2882

Please sign in to comment.