未验证 提交 abd36dfc 编写于 作者: H hn 提交者: GitHub

fix some method exception error (#7210)

上级 536b7d23
......@@ -24,6 +24,7 @@ Release Notes.
* Correct `profile.duration` to `profile.max_duration` in the default `agent.config` file.
* Fix the response time of gRPC.
* Add `ShardingSphere-5.0.0-beta` plugin.
* Fix some method exception error.
#### OAP-Backend
......
......@@ -134,7 +134,7 @@ public class SnifferConfigInitializer {
}
}
private static void overrideConfigByAgentOptions(String agentOptions) throws IllegalAccessException {
private static void overrideConfigByAgentOptions(String agentOptions) throws IllegalArgumentException {
for (List<String> terms : parseAgentOptions(agentOptions)) {
if (terms.size() != 2) {
throw new IllegalArgumentException("[" + terms + "] is not a key-value pair.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册