mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 07:57:13 +08:00
Check for identical configs on process update
This commit is contained in:
@@ -718,7 +718,7 @@ func (c *cluster) AddProcess(origin string, config *app.Config) error {
|
||||
cmd := &store.Command{
|
||||
Operation: store.OpAddProcess,
|
||||
Data: &store.CommandAddProcess{
|
||||
Config: *config,
|
||||
Config: config,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -749,7 +749,7 @@ func (c *cluster) UpdateProcess(origin, id string, config *app.Config) error {
|
||||
Operation: store.OpUpdateProcess,
|
||||
Data: &store.CommandUpdateProcess{
|
||||
ID: id,
|
||||
Config: *config,
|
||||
Config: config,
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user