[manager,collector]feature:api monitor support query params (#59)

This commit is contained in:
tomsun28
2022-04-04 08:40:23 +08:00
committed by GitHub
parent 3c48b4c71f
commit 6a9d65ba5d
3 changed files with 12 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ public class WheelTimerTask implements TimerTask {
if (key != null && key.startsWith("^_^") && key.endsWith("^_^")) {
key = key.replaceAll("\\^_\\^", "");
Configmap param = configmap.get(key);
if (param.getType() == (byte) 3) {
if (param != null && param.getType() == (byte) 3) {
String jsonValue = (String) param.getValue();
Map<String, String> map = GsonUtil.fromJson(jsonValue, Map.class);
if (map != null) {