From bcc20653023273abe6d54c12137ae49ccfa46bf7 Mon Sep 17 00:00:00 2001 From: vivekr-splunk Date: Wed, 17 Jan 2024 09:06:38 -0800 Subject: [PATCH] adding comment --- pkg/splunk/enterprise/indexercluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/splunk/enterprise/indexercluster.go b/pkg/splunk/enterprise/indexercluster.go index 48fc37780..740cb3fac 100644 --- a/pkg/splunk/enterprise/indexercluster.go +++ b/pkg/splunk/enterprise/indexercluster.go @@ -1111,6 +1111,7 @@ func getIndexerClusterSortedSiteList(ctx context.Context, c splcommon.Controller func getSiteName(ctx context.Context, c splcommon.ControllerClient, cr *enterpriseApi.IndexerCluster) string { defaults := cr.Spec.Defaults + // site name starts with site: pattern := `site:\s+(\w+)` // Compile the regular expression pattern