From a4093df5823b8e9e2e1f442def7e6132a2a4e485 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Thu, 11 Apr 2024 15:17:31 +0200 Subject: [PATCH] fixup! RHINENG-8045: read template messages --- listener/templates.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/listener/templates.go b/listener/templates.go index 24d3a4dc4..d101a3f17 100644 --- a/listener/templates.go +++ b/listener/templates.go @@ -104,8 +104,6 @@ func TemplateUpdate(template mqueue.TemplateResponse) error { err = database.OnConflictUpdateMulti(database.Db, []string{"rh_account_id", "uuid"}, "name", "description", "creator", "published").Save(&row).Error - // err = database.Db. - // Create(&row).Error if err != nil { return errors.Wrap(err, "creating template from message") }