From 82ffb54ff1f559bac6d3964065aab900bcb7c64a Mon Sep 17 00:00:00 2001 From: Tomasz Pietrek Date: Mon, 23 Jan 2023 14:40:09 +0100 Subject: [PATCH] Add comment for utility func Signed-off-by: Tomasz Pietrek --- server/consumer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/consumer.go b/server/consumer.go index 0a4573ed134..f6b00583c42 100644 --- a/server/consumer.go +++ b/server/consumer.go @@ -4600,6 +4600,8 @@ func subjectSliceEqual(slice1 []string, slice2 []string) bool { } // Utility for simpler if conditions in Consumer config checks. +// In future iteration, we can immediately create `o.subjf` and +// use it to validate things. func subjectFilters(filter string, filters []string) []string { if len(filters) == 0 { return []string{filter}