From 9ba6004b0106e2d2f8dd293743173e624df40460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20Anker=20Kvisg=C3=A5rd=20Lange?= Date: Fri, 26 Jan 2024 13:35:24 +0100 Subject: [PATCH] fix: Disable version check because version column is not for locking --- server/store/datastore/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/store/datastore/agent.go b/server/store/datastore/agent.go index 383692289d..419f1f13af 100644 --- a/server/store/datastore/agent.go +++ b/server/store/datastore/agent.go @@ -48,7 +48,7 @@ func (s storage) AgentCreate(agent *model.Agent) error { } func (s storage) AgentUpdate(agent *model.Agent) error { - _, err := s.engine.ID(agent.ID).AllCols().Update(agent) + _, err := s.engine.ID(agent.ID).AllCols().NoVersionCheck().Update(agent) return err }