refactor: change error message

This commit is contained in:
guoyuqi 2023-08-16 15:02:02 +08:00 committed by 刘瑞斌
parent b9471157fa
commit 7a501fff3f
1 changed files with 1 additions and 1 deletions

View File

@ -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);