diff --git a/backend/kitex_gen/coze/loop/observability/domain/filter/filter.go b/backend/kitex_gen/coze/loop/observability/domain/filter/filter.go index 366ccec58..4f30ef80c 100644 --- a/backend/kitex_gen/coze/loop/observability/domain/filter/filter.go +++ b/backend/kitex_gen/coze/loop/observability/domain/filter/filter.go @@ -32,7 +32,7 @@ const ( QueryTypeNotIn = "not_in" - QueryTypeNotMatch = "match" + QueryTypeNotMatch = "not_match" QueryRelationAnd = "and" diff --git a/backend/modules/observability/domain/trace/entity/loop_span/filter_test.go b/backend/modules/observability/domain/trace/entity/loop_span/filter_test.go index 51cc13035..bb6691b41 100644 --- a/backend/modules/observability/domain/trace/entity/loop_span/filter_test.go +++ b/backend/modules/observability/domain/trace/entity/loop_span/filter_test.go @@ -1770,4 +1770,4 @@ func TestQueryTypeEnumNotMatchValidation(t *testing.T) { err := filter.Validate() assert.Error(t, err, "Invalid NotMatch filter %d should fail validation", i) } -} \ No newline at end of file +} diff --git a/backend/modules/observability/infra/repo/ck/spans_test.go b/backend/modules/observability/infra/repo/ck/spans_test.go index 190b3c575..efa17e7fe 100644 --- a/backend/modules/observability/infra/repo/ck/spans_test.go +++ b/backend/modules/observability/infra/repo/ck/spans_test.go @@ -557,4 +557,4 @@ func TestQueryTypeEnumNotMatchComplexScenarios(t *testing.T) { assert.Equal(t, tc.expectedSql, sql, "SQL mismatch for test case: %s", tc.name) }) } -} \ No newline at end of file +}