From 6767b59932e3991fa0097625e4962451191299c1 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 25 Aug 2024 23:06:02 +0200 Subject: [PATCH] fix lint issue because I got distracted by an unrelated CI error and thought the pull was ok :/ https://github.com/woodpecker-ci/woodpecker/pull/4048#issuecomment-2308988964 --- server/services/log/file/file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/services/log/file/file.go b/server/services/log/file/file.go index ce2c6a17f..551a05d89 100644 --- a/server/services/log/file/file.go +++ b/server/services/log/file/file.go @@ -14,8 +14,8 @@ import ( ) const ( - // base64 overhead + space for other JSON fields (just to be safe) - maxLineLength int = (pipeline.MaxLogLineLength/3)*4 + (64 * 1024) + // Add base64 overhead and space for other JSON fields (just to be safe). + maxLineLength int = (pipeline.MaxLogLineLength/3)*4 + (64 * 1024) //nolint:mnd ) type logStore struct {