logs and user messages: use "parse" and "serialize" instead of marshal/unmarshal (#3240)

This commit is contained in:
mmetc 2024-09-17 13:19:14 +02:00 committed by GitHub
parent 1591a0c46e
commit ce085dc4cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
56 changed files with 87 additions and 87 deletions

View file

@ -52,7 +52,7 @@ func (c *Config) LoadSimulation() error {
if err := dec.Decode(&simCfg); err != nil {
if !errors.Is(err, io.EOF) {
return fmt.Errorf("while unmarshaling simulation file '%s': %w", c.ConfigPaths.SimulationFilePath, err)
return fmt.Errorf("while parsing simulation file '%s': %w", c.ConfigPaths.SimulationFilePath, err)
}
}