feat(node): add GetNodeCount to get node count and remove no need node update log, only log when node count changed
This commit is contained in:
+1
-1
@@ -88,6 +88,6 @@ func SettingsSetHandler(w http.ResponseWriter, r *http.Request) {
|
||||
// it changed will not be live until the program is restarted.
|
||||
utils.SendSuccessResponse(w, "settings updated successfully", map[string]interface{}{
|
||||
"type": settingsType,
|
||||
"restartRequired": config.RestartRequiredKeys(settingsType, patch),
|
||||
"restartRequired": config.IsRestartRequiredKeys(settingsType, patch),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user