Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekr-splunk committed Jan 17, 2024
1 parent 19d2055 commit bcc2065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/splunk/enterprise/indexercluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcc2065

Please sign in to comment.