Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
saxenakshitiz committed Jun 11, 2024
1 parent 21a4af8 commit d7607cb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ private Optional<Action> convertAction(
null,
Action.ActionType.DYNAMIC_LABEL_KEY));
case DYNAMIC_LABEL_EXPRESSION:
DynamicLabel dynamicLabel =
convertDynamicLabelExpression(action.getDynamicLabelExpression());
DynamicLabel dynamicLabel = convertDynamicLabel(action.getDynamicLabelExpression());
return operation.map(
op ->
new ConvertedAction(
Expand All @@ -138,7 +137,7 @@ private StaticLabels convertStaticLabels(
return new ConvertedStaticLabels(staticLabels.getIdsList());
}

private DynamicLabel convertDynamicLabelExpression(
private DynamicLabel convertDynamicLabel(
org.hypertrace.label.application.rule.config.service.v1.LabelApplicationRuleData.Action
.DynamicLabel
dynamicLabel) {
Expand Down

0 comments on commit d7607cb

Please sign in to comment.