mirror of
https://github.com/prometheus/alertmanager.git
synced 2026-02-05 06:45:45 +01:00
fix typo in comment (#4766)
Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
This commit is contained in:
@@ -440,7 +440,7 @@ func (t *Template) Data(recv string, groupLabels model.LabelSet, alerts ...*type
|
||||
|
||||
type TemplateFunc func(string) (string, error)
|
||||
|
||||
// deepCopyWithTemplate returns a deep copy of a map/slice/array/string/int/bool or combination thereof, executing the
|
||||
// DeepCopyWithTemplate returns a deep copy of a map/slice/array/string/int/bool or combination thereof, executing the
|
||||
// provided template (with the provided data) on all string keys or values. All maps are connverted to
|
||||
// map[string]any, with all non-string keys discarded.
|
||||
func DeepCopyWithTemplate(value any, tmplTextFunc TemplateFunc) (any, error) {
|
||||
|
||||
Reference in New Issue
Block a user