Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit f492eee

Browse files
Apply suggestions from code review
Co-authored-by: Brian Cain <[email protected]>
1 parent 71091d0 commit f492eee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/config/funcs/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func Docs() map[string]string {
5050
"range": "generate a list of numbers",
5151
"regex": "match the given string against the given regular expression pattern, returning captures if defined",
5252
"regexall": "same as regex but look for all matches of the given pattern rather than just the first",
53-
"replace": "`replace` searches a given string for another given substring, and replaces each occurrence with a given replacement string.",
53+
"replace": "searches a given string for another given substring, and replaces each occurrence with a given replacement string.",
5454
"reverse": "reverse the order of the elements in the list",
5555
"selectormatch": "applies a selector to a map and returns true if the selector matches",
5656
"selectorlookup": "applies a map of selectors to a map of labels. The value for the first matching selector is returned. If none match, the default is returned.",

website/content/partials/funcs.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ same as regex but look for all matches of the given pattern rather than just the
388388
replace(str, substr, replace) string
389389
```
390390

391-
`replace` searches a given string for another given substring, and replaces each occurrence with a given replacement string.
391+
searches a given string for another given substring, and replaces each occurrence with a given replacement string.
392392

393393
## `reverse`
394394

0 commit comments

Comments
 (0)