From 026ef06afe8d8d926b0df4859eed5fbb6d8055a4 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 8 Nov 2022 00:06:10 +0100 Subject: [PATCH] fix lint issue --- server/gitea/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gitea/cache.go b/server/gitea/cache.go index 41e9c41..0f2a659 100644 --- a/server/gitea/cache.go +++ b/server/gitea/cache.go @@ -44,7 +44,7 @@ func (f FileResponse) IsEmpty() bool { func (f FileResponse) createHttpResponse() (http.Header, int) { header := make(http.Header) - statusCode := http.StatusInternalServerError + var statusCode int if f.Exists { statusCode = http.StatusOK