mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-12-22 17:14:22 +00:00
Remove manual config fields assignment
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user