mirror of
https://github.com/datarhei/core.git
synced 2025-10-31 03:16:21 +08:00
Fix tests and marshalling process config
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user