未验证 提交 6893fec8 编写于 作者: Z Zhenxu Ke 提交者: GitHub

Fix bug in `parseInternalErrorCode` where some error codes are never reached (#6226)

上级 97f54114
......@@ -70,6 +70,7 @@ Release Notes.
* Log collecting and query implementation
* Support Alarm to feishu
* Add the implementation of ConfigurationDiscovery on the OAP side.
* Fix bug in `parseInternalErrorCode` where some error codes are never reached.
#### UI
* Fix un-removed tags in trace query.
......
......@@ -202,7 +202,7 @@ public class LogEntry2MetricsAdapter {
return "fault_injected";
} else if (responseFlags.getRateLimited()) {
return "rate_limited";
} else if (responseFlags.getUnauthorizedDetails() != null) {
} else if (responseFlags.hasUnauthorizedDetails()) {
return "unauthorized_details";
} else if (responseFlags.getRateLimitServiceError()) {
return "rate_limit_service_error";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册