From 3e806efc47013345fe58e218432d8ed50507cacd Mon Sep 17 00:00:00 2001 From: Sven Urbanski Date: Thu, 10 Oct 2024 13:37:19 +0200 Subject: [PATCH] cleanup --- pkg/db/db.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/db/db.go b/pkg/db/db.go index 60bd615b2..cd36ed036 100644 --- a/pkg/db/db.go +++ b/pkg/db/db.go @@ -623,15 +623,6 @@ func (h *DBHandler) DBSelectReleasesByVersions(ctx context.Context, tx *sql.Tx, return []*DBReleaseWithMetaData{}, nil } repeatedQuestionMarks := strings.Repeat(",?", len(releaseVersions)-1) - // selectQuery := h.AdaptQuery(fmt.Sprintf( - // ` - //SELECT eslVersion, created, appName, metadata, releaseVersion, deleted, environments - //FROM releases - //WHERE appName=? AND releaseVersion IN (?` + repeatedQuestionMarks + `) - //ORDER BY eslVersion DESC - //LIMIT ?; - //`)) - selectQuery := h.AdaptQuery(` SELECT DISTINCT @@ -639,7 +630,6 @@ func (h *DBHandler) DBSelectReleasesByVersions(ctx context.Context, tx *sql.Tx, releases.created, releases.appName, releases.metadata, --- releases.manifests, releases.releaseVersion, releases.deleted, releases.environments