Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev committed Dec 19, 2024
1 parent 02dab4e commit 2f18f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/phlaredb/head.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (h *Head) Ingest(ctx context.Context, p *profilev1.Profile, id uuid.UUID, e

delta := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameDelta) != "false"
externalLabels = phlaremodel.Labels(externalLabels).Delete(phlaremodel.LabelNameDelta)
otel := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameOTEL) != "false"
otel := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameOTEL) == "true"
externalLabels = phlaremodel.Labels(externalLabels).Delete(phlaremodel.LabelNameOTEL)

enforceLabelOrder := phlaremodel.Labels(externalLabels).Get(phlaremodel.LabelNameOrder) == phlaremodel.LabelOrderEnforced
Expand Down

0 comments on commit 2f18f58

Please sign in to comment.