1
0
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:
Solomon Jacobs
2025-12-05 20:32:27 +01:00
committed by GitHub
parent 527e96b024
commit 5800456ca7

View File

@@ -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) {