Check for identical configs on process update

This commit is contained in:
Ingo Oppermann
2023-06-01 16:43:17 +02:00
parent a79cfa0c77
commit d652fd213b
7 changed files with 177 additions and 32 deletions

View File

@@ -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,
},
}