Skip to content

Commit bd44c4d

Browse files
authored
fix: fix javaagent ratelimit pb method not found error (#605)
1 parent ce10b32 commit bd44c4d

File tree

1 file changed

+4
-0
lines changed
  • polaris-ratelimit/polaris-ratelimit-api/src/main/java/com/tencent/polaris/ratelimit/api/rpc

1 file changed

+4
-0
lines changed

polaris-ratelimit/polaris-ratelimit-api/src/main/java/com/tencent/polaris/ratelimit/api/rpc/QuotaResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ public String getActiveRuleName() {
6868
return activeRuleName;
6969
}
7070

71+
public String getActiveRuleId() {
72+
return this.getActiveRule().getId().getValue();
73+
}
74+
7175
public Rule getActiveRule() {
7276
return activeRule;
7377
}

0 commit comments

Comments
 (0)