Remove manual config fields assignment

This commit is contained in:
2025-11-14 20:38:36 +01:00
parent 2c28971e15
commit 4f4feacaa8

View File

@@ -637,10 +637,5 @@ func (cfg *AppConfig) SanitizedCopy() (AppConfig, error) {
sanitized.Nodes[nodeName] = node sanitized.Nodes[nodeName] = node
} }
// Preserve non-serialized fields
sanitized.Version = cfg.Version
sanitized.CommitHash = cfg.CommitHash
sanitized.BuildTime = cfg.BuildTime
return sanitized, nil return sanitized, nil
} }