长轮询参数校验逻辑,修复不存在的空命名空间配置校验失败bug (#11442)
This commit is contained in:
parent
bb7a6ce506
commit
99295f8846
@ -59,7 +59,7 @@ public class ConfigListenerHttpParamExtractor extends AbstractHttpParamExtractor
|
||||
for (String line : lines) {
|
||||
ParamInfo paramInfo = new ParamInfo();
|
||||
String[] words = line.split(Character.toString(WORD_SEPARATOR_CHAR));
|
||||
if (words.length < 3 || words.length > 4) {
|
||||
if (words.length < 2 || words.length > 4) {
|
||||
throw new IllegalArgumentException("invalid probeModify");
|
||||
}
|
||||
paramInfo.setDataId(words[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user