Skip to content

Commit bbdb5f9

Browse files
committed
fix(lint): suppress unparam warning on applySaturationDecisions
The error return is always nil today because all errors are logged and handled inline. Keep the signature for future use when partial failures (e.g. some VAs succeed, others fail) are propagated to the caller. Signed-off-by: Jiazhou Gao <gjz140103@gmail.com>
1 parent ce268e5 commit bbdb5f9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/engines/saturation/engine.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,8 @@ func (e *Engine) RunSaturationAnalysis(
884884
}
885885

886886
// applySaturationDecisions updates VA status and emits metrics based on Saturation decisions.
887+
//
888+
//nolint:unparam // error return kept for future use when partial failures are propagated
887889
func (e *Engine) applySaturationDecisions(
888890
ctx context.Context,
889891
decisions []interfaces.VariantDecision,

0 commit comments

Comments
 (0)