From 794e155169e2a4b3e0c7c4bb52aba9824d0df5b4 Mon Sep 17 00:00:00 2001 From: Moritz Marquardt Date: Thu, 18 Apr 2024 21:17:27 +0200 Subject: [PATCH] Fix new CI issues --- server/certificates/certificates.go | 2 +- server/dns/dns.go | 2 +- server/gitea/cache.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/certificates/certificates.go b/server/certificates/certificates.go index 0ac5152..0b28969 100644 --- a/server/certificates/certificates.go +++ b/server/certificates/certificates.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/hashicorp/golang-lru/v2" + lru "github.com/hashicorp/golang-lru/v2" "github.com/go-acme/lego/v4/certcrypto" "github.com/go-acme/lego/v4/certificate" diff --git a/server/dns/dns.go b/server/dns/dns.go index 60b2147..f05f73e 100644 --- a/server/dns/dns.go +++ b/server/dns/dns.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/hashicorp/golang-lru/v2" + lru "github.com/hashicorp/golang-lru/v2" ) type lookupCacheEntry struct { diff --git a/server/gitea/cache.go b/server/gitea/cache.go index 15504b7..1471b50 100644 --- a/server/gitea/cache.go +++ b/server/gitea/cache.go @@ -89,7 +89,6 @@ func (f FileResponse) createHttpResponse(cacheKey string) (header http.Header, s type BranchTimestamp struct { Branch string Timestamp time.Time - notFound bool } type writeCacheReader struct {