node_config: load() returns true on parse success; main: specific diagnostics per missing field
This commit is contained in:
1 parent
c65940f499
commit
102816d0dc
2 files changed
+9
-4
No files matched your search
@@ -134,7 +134,7 @@ bool NodeConfig::load() {
|
||||
if (!controlIp.isEmpty() && !controlPort.isEmpty())
|
||||
m_controlAddr = controlIp + ":" + controlPort;
|
||||
|
||||
return !m_nodeId.isEmpty();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool NodeConfig::save() {
|
||||
|
||||
Reference in new issue
Block a user