Fix incorrect usage of PushUpdate in process package
This commit is contained in:
@@ -66,7 +66,7 @@ func (p *Process) Save() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if dbControllerFlag.IsSet() {
|
if dbControllerFlag.IsSet() {
|
||||||
go dbController.PushUpdate(p)
|
dbController.PushUpdate(p)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ func (p *Process) Delete() {
|
|||||||
// propagate delete
|
// propagate delete
|
||||||
p.Meta().Delete()
|
p.Meta().Delete()
|
||||||
if dbControllerFlag.IsSet() {
|
if dbControllerFlag.IsSet() {
|
||||||
go dbController.PushUpdate(p)
|
dbController.PushUpdate(p)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: maybe mark the assigned profiles as no longer needed?
|
// TODO: maybe mark the assigned profiles as no longer needed?
|
||||||
|
|||||||
Reference in New Issue
Block a user