From ecef721cbbf0a750228f0a53410eff97f9011e9e Mon Sep 17 00:00:00 2001 From: Rachel Khoriander Date: Fri, 23 Feb 2024 16:41:45 -0600 Subject: [PATCH] fix: Fix a typo from PR #1006 (#1007) ## Which problem is this PR solving? Small typo in the sample wording when reviewing #1006 (but it had already been merged). ## Short description of the changes Moves one word into the correct place. --- sample/rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/rules.go b/sample/rules.go index bdf85861ca..2fccfe2b1f 100644 --- a/sample/rules.go +++ b/sample/rules.go @@ -225,7 +225,7 @@ func ruleMatchesSpanInTrace(trace *types.Trace, rule *config.RulesBasedSamplerRu // extractValueFromSpan extracts the `value` found at the first of the given condition's fields found on the input `span`. // It returns the extracted `value` and an `exists` boolean indicating whether any of the condition's fields are present -// on input the span. +// on the input span. func extractValueFromSpan(trace *types.Trace, span *types.Span, condition *config.RulesBasedSamplerCondition, checkNestedFields bool) (value interface{}, exists bool) { // If the condition is a descendant count, we extract the count from trace and return it. if f, ok := condition.GetComputedField(); ok {