Skip to content

Commit

Permalink
Updated API name (#28476)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushagraThapar authored Apr 23, 2022
1 parent 857afb9 commit 081d99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public boolean isDefault() {
* @return {@code true} request will continue on original request flow if throughput control controller failed on initialization. {@code false} otherwise.
*/
@Beta(value = Beta.SinceVersion.V4_28_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING)
public boolean isContinueOnInitError() {
public boolean continueOnInitError() {
return continueOnInitError;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static LocalThroughputControlGroup createThroughputLocalControlGroup(Thro
groupConfig.getTargetThroughput(),
groupConfig.getTargetThroughputThreshold(),
groupConfig.isDefault(),
groupConfig.isContinueOnInitError());
groupConfig.continueOnInitError());
}

public static GlobalThroughputControlGroup createThroughputGlobalControlGroup(
Expand All @@ -40,7 +40,7 @@ public static GlobalThroughputControlGroup createThroughputGlobalControlGroup(
groupConfig.getTargetThroughput(),
groupConfig.getTargetThroughputThreshold(),
groupConfig.isDefault(),
groupConfig.isContinueOnInitError(),
groupConfig.continueOnInitError(),
BridgeInternal.getControlContainerFromThroughputGlobalControlConfig(globalControlConfig),
globalControlConfig.getControlItemRenewInterval(),
globalControlConfig.getControlItemExpireInterval());
Expand Down

0 comments on commit 081d99c

Please sign in to comment.