diff --git a/internal/manager/api_impl/logging.go b/internal/manager/api_impl/logging.go index a809b44f..9c2aa8b3 100644 --- a/internal/manager/api_impl/logging.go +++ b/internal/manager/api_impl/logging.go @@ -26,12 +26,6 @@ import ( "github.com/rs/zerolog/log" ) -type loggerContextKey string - -const ( - loggerKey = loggerContextKey("logger") -) - func requestLogger(e echo.Context) zerolog.Logger { logCtx := log.With().Str("remoteAddr", e.RealIP()) diff --git a/internal/manager/job_compilers/js_globals_test.go b/internal/manager/job_compilers/js_globals_test.go index f3305499..448fbc72 100644 --- a/internal/manager/job_compilers/js_globals_test.go +++ b/internal/manager/job_compilers/js_globals_test.go @@ -34,11 +34,11 @@ func TestFrameChunkerHappyBlenderStyle(t *testing.T) { func TestFrameChunkerHappySmallInput(t *testing.T) { // No frames, should be an error - chunks, err := jsFrameChunker(" ", 4) + _, err := jsFrameChunker(" ", 4) assert.ErrorIs(t, err, ErrInvalidRange{Message: "empty range"}) // Just one frame. - chunks, err = jsFrameChunker("47", 4) + chunks, err := jsFrameChunker("47", 4) assert.Nil(t, err) assert.Equal(t, []string{"47"}, chunks)