Fix tests and marshalling process config

This commit is contained in:
Ingo Oppermann
2025-05-15 15:09:47 +02:00
parent cc0da080c6
commit fc97a6f069
5 changed files with 8 additions and 4 deletions

View File

@@ -309,6 +309,7 @@ func (cfg *ProcessConfig) Unmarshal(c *app.Config, metadata map[string]interface
io := ProcessConfigIO{
ID: x.ID,
Address: x.Address,
Cleanup: []ProcessConfigIOCleanup{},
}
io.Options = make([]string, len(x.Options))
@@ -321,6 +322,7 @@ func (cfg *ProcessConfig) Unmarshal(c *app.Config, metadata map[string]interface
io := ProcessConfigIO{
ID: x.ID,
Address: x.Address,
Cleanup: []ProcessConfigIOCleanup{},
}
io.Options = make([]string, len(x.Options))