From a4ad16f422eb43b41d406496cdaa14f17a53fb1f Mon Sep 17 00:00:00 2001 From: codebien <2103732+codebien@users.noreply.github.com> Date: Mon, 14 Aug 2023 15:02:23 +0200 Subject: [PATCH] lib: nolint directives for interfacebloat --- lib/executors.go | 2 ++ lib/runner.go | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/lib/executors.go b/lib/executors.go index ae50a907fe7..61067382491 100644 --- a/lib/executors.go +++ b/lib/executors.go @@ -55,6 +55,8 @@ type ExecutionStep struct { // TODO: make []ExecutionStep or []ExecutorConfig their own type? // ExecutorConfig is an interface that should be implemented by all executor config types +// +//nolint:interfacebloat // We don't have plan to split it. type ExecutorConfig interface { Validate() []error diff --git a/lib/runner.go b/lib/runner.go index e202966692c..92bad4a22f2 100644 --- a/lib/runner.go +++ b/lib/runner.go @@ -46,6 +46,11 @@ type VUActivationParams struct { // // TODO: Rename this to something more obvious? This name made sense a very long // time ago. +// +// interfacebloat: We may evaluate in the future to move out some methods; +// but considering how central it is, it would require a huge effort. +// +//nolint:interfacebloat type Runner interface { // Creates an Archive of the runner. There should be a corresponding NewFromArchive() function // that will restore the runner from the archive.