feat: config

This commit is contained in:
icey-yu 2024-12-24 14:54:37 +08:00
parent 504ad901ec
commit 99890e80a6

View File

@ -210,7 +210,7 @@ func (cm *ConfigManager) restart(c *gin.Context) {
continue continue
} }
v.isChanged = reflect.DeepEqual(v.old, v.new) v.isChanged = reflect.DeepEqual(v.old, v.new)
if v.isChanged { if !v.isChanged {
changedKeys = append(changedKeys, k) changedKeys = append(changedKeys, k)
} }