Skip to content

Commit 2d30067

Browse files
Matovidloclaude
andcommitted
fix: suppress nilerr lint warning for intentional nil return on multiple variablesFor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fc31379 commit 2d30067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/pkg/model/variables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (t *VariablesValuesForRelation) NewOtherSideRelation(relationDefinedOn Obje
183183
// Multiple variablesFor relations exist on the variables config (shared across consumers).
184184
// Pass 2 validation will detect and warn about the duplicates; skip linking here to avoid
185185
// a redundant error before the cleanup runs.
186-
return nil, nil, nil
186+
return nil, nil, nil //nolint:nilerr
187187
}
188188
if variablesForRaw == nil {
189189
return nil, nil, errors.NewNestedError(

0 commit comments

Comments
 (0)