From f496330b350da3098191d64643207e32b8fbbf09 Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Wed, 7 Oct 2020 09:17:47 +0200 Subject: [PATCH] Fix incorrect usage of PushUpdate in process package --- process/database.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process/database.go b/process/database.go index 1ce5295d..858c849c 100644 --- a/process/database.go +++ b/process/database.go @@ -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?