Skip to content

Commit d861e67

Browse files
committed
fix: go unused var
1 parent d4ab4c0 commit d861e67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/go/guides/search/enableFilterPromote.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ func enableFilterPromote() {
1111
"rule_with_filterPromotes",
1212
*search.NewConsequence().SetFilterPromotes(true),
1313
).SetEnabled(true).SetConditions([]search.Condition{*condition})
14-
_ = rule
14+
15+
fmt.Printf("Rule: %#v\n", rule)
1516
}

0 commit comments

Comments
 (0)