Skip to content

Commit 15921d0

Browse files
committed
Appease linter
1 parent c9e5756 commit 15921d0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkg/ottl/e2e/profiles/e2e_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ func Test_e2e_converters(t *testing.T) {
561561
putProfileAttribute(t, tCtx, "test", map[string]any{
562562
"url.scheme": "http",
563563
"url.username": "user",
564-
"url.domain": "example.com",
565-
"url.port": 80,
566-
"url.path": "/path",
567-
"url.query": "query=string",
564+
"url.domain": "example.com",
565+
"url.port": 80,
566+
"url.path": "/path",
567+
"url.query": "query=string",
568568
})
569569
},
570570
},
@@ -1640,6 +1640,7 @@ func removeAttribute(t *testing.T, tCtx ottlprofile.TransformContext, key string
16401640
tCtx.GetProfile().AttributeIndices().FromRaw(indices[:len(indices)-1])
16411641
}
16421642

1643+
//nolint:unparam // Silence linter to keep key as param for future changes.
16431644
func getProfileAttribute(t *testing.T, tCtx ottlprofile.TransformContext, key string) pcommon.Value {
16441645
table := tCtx.GetProfilesDictionary().AttributeTable()
16451646
indices := tCtx.GetProfile().AttributeIndices().AsRaw()

0 commit comments

Comments
 (0)