Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-urbanski-freiheit-com committed Nov 8, 2024
1 parent 4da3931 commit 34f8882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ func (h *DBHandler) DBSelectReleasesByAppLatestEslVersion(ctx context.Context, t
func (h *DBHandler) DBSelectReleasesByAppOrderedByEslVersion(ctx context.Context, tx *sql.Tx, app string, ignorePrepublishes bool) (*DBReleaseWithMetaData, error) {
span, ctx := tracer.StartSpanFromContext(ctx, "DBSelectReleasesByAppOrderedByEslVersion")
defer span.Finish()
selectQuery := h.AdaptQuery(fmt.Sprintf(`
selectQuery := h.AdaptQuery(`
SELECT
releases.eslVersion,
releases.created,
Expand All @@ -888,7 +888,7 @@ JOIN releases
AND c.releaseVersion = releases.releaseVersion
ORDER BY c.releaseVersion DESC
LIMIT 1;
`),
`,
)
span.SetTag("query", selectQuery)
span.SetTag("appName", app)
Expand Down

0 comments on commit 34f8882

Please sign in to comment.