refactor: change error message
This commit is contained in:
parent
b9471157fa
commit
7a501fff3f
|
@ -50,7 +50,7 @@ public class NodeResourcePoolService {
|
||||||
}
|
}
|
||||||
if (!usedApiType) {
|
if (!usedApiType) {
|
||||||
if (StringUtils.isBlank(testResourceNodeDTO.getMonitor())) {
|
if (StringUtils.isBlank(testResourceNodeDTO.getMonitor())) {
|
||||||
throw new MSException(Translator.get("monitor_number_is_null"));
|
throw new MSException(Translator.get("monitor_is_null"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
isValid = validateNode(testResourceNodeDTO);
|
isValid = validateNode(testResourceNodeDTO);
|
||||||
|
|
Loading…
Reference in New Issue