From ed86decb0c4cded951910205dead375d159df045 Mon Sep 17 00:00:00 2001 From: crapStone Date: Thu, 21 Nov 2024 23:55:09 +0100 Subject: [PATCH] fix lints --- server/gitea/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gitea/client.go b/server/gitea/client.go index bf19d32..3af58fa 100644 --- a/server/gitea/client.go +++ b/server/gitea/client.go @@ -257,7 +257,7 @@ func (client *Client) GiteaGetRepoBranchTimestamp(repoOwner, repoName, branchNam log.Trace().Msgf("[cache] set cache branch %q not found", branchName) jsonToCache, err := json.Marshal(BranchTimestamp{NotFound: true}) if err != nil { - log.Error().Err(err).Msgf("[cache] marshaling empty timestamp has returned an error", cacheKey) + log.Error().Err(err).Msgf("[cache] marshaling empty timestamp for '%s' has returned an error", cacheKey) } if err := client.responseCache.Set(cacheKey, jsonToCache, branchExistenceCacheTimeout); err != nil { log.Error().Err(err).Msg("[cache] error on cache write")