Provisioning Contact points: Support disableResolveMessage via YAML too (#54122) (#55254)

Signed-off-by: Michael Musenbrock <michael.musenbrock@gmail.com>
(cherry picked from commit 099d3cdf72)

Co-authored-by: Michael Musenbrock <michael.musenbrock@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-09-15 16:53:00 -05:00
committed by GitHub
co-authored by Michael Musenbrock
parent b0124f0648
commit 946622f7c6
@@ -68,7 +68,7 @@ type ReceiverV1 struct {
UID values.StringValue `json:"uid" yaml:"uid"`
Type values.StringValue `json:"type" yaml:"type"`
Settings values.JSONValue `json:"settings" yaml:"settings"`
DisableResolveMessage values.BoolValue `json:"disableResolveMessage"`
DisableResolveMessage values.BoolValue `json:"disableResolveMessage" yaml:"disableResolveMessage"`
}
func (config *ReceiverV1) mapToModel(name string) (definitions.EmbeddedContactPoint, error) {