From 7285e48666a69c081a6983937d0fde0334a18a06 Mon Sep 17 00:00:00 2001 From: Suraj Nath <9503187+electron0zero@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:30:25 +0530 Subject: [PATCH] fix CI after rebase --- pkg/traceql/ast_test.go | 2 +- pkg/traceql/parse_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/traceql/ast_test.go b/pkg/traceql/ast_test.go index 978ea0c4c3e..fe0885a04c9 100644 --- a/pkg/traceql/ast_test.go +++ b/pkg/traceql/ast_test.go @@ -855,7 +855,7 @@ func (m *mockSpan) WithSpanString(key string, value string) *mockSpan { } func (m *mockSpan) WithSpanInt(key string, value int) *mockSpan { - m.attributes[NewScopedAttribute(AttributeScopeSpan, false, key)] = NewStaticInt(value) + m.attributes[NewScopedAttribute(AttributeScopeSpan, false, key, false)] = NewStaticInt(value) return m } diff --git a/pkg/traceql/parse_test.go b/pkg/traceql/parse_test.go index f96d5c410f8..bb0179e2f18 100644 --- a/pkg/traceql/parse_test.go +++ b/pkg/traceql/parse_test.go @@ -1377,7 +1377,7 @@ func TestMetrics(t *testing.T) { NewIntrinsic(IntrinsicDuration), []Attribute{ NewIntrinsic(IntrinsicName), - NewScopedAttribute(AttributeScopeSpan, false, "http.status_code"), + NewScopedAttribute(AttributeScopeSpan, false, "http.status_code", false), }), ), },