Fix incorrect usage of PushUpdate in process package

This commit is contained in:
Patrick Pacher
2020-10-07 09:17:47 +02:00
parent da194c3f0d
commit f496330b35

View File

@@ -66,7 +66,7 @@ func (p *Process) Save() {
}
if dbControllerFlag.IsSet() {
go dbController.PushUpdate(p)
dbController.PushUpdate(p)
}
}
@@ -83,7 +83,7 @@ func (p *Process) Delete() {
// propagate delete
p.Meta().Delete()
if dbControllerFlag.IsSet() {
go dbController.PushUpdate(p)
dbController.PushUpdate(p)
}
// TODO: maybe mark the assigned profiles as no longer needed?