@@ -225,7 +225,7 @@ type WebexConfig struct {
225225}
226226
227227// UnmarshalYAML implements the yaml.Unmarshaler interface.
228- func (c * WebexConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
228+ func (c * WebexConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
229229 * c = DefaultWebexConfig
230230 type plain WebexConfig
231231 if err := unmarshal ((* plain )(c )); err != nil {
@@ -259,7 +259,7 @@ type DiscordConfig struct {
259259}
260260
261261// UnmarshalYAML implements the yaml.Unmarshaler interface.
262- func (c * DiscordConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
262+ func (c * DiscordConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
263263 * c = DefaultDiscordConfig
264264 type plain DiscordConfig
265265 if err := unmarshal ((* plain )(c )); err != nil {
@@ -299,7 +299,7 @@ type EmailConfig struct {
299299}
300300
301301// UnmarshalYAML implements the yaml.Unmarshaler interface.
302- func (c * EmailConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
302+ func (c * EmailConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
303303 * c = DefaultEmailConfig
304304 type plain EmailConfig
305305 if err := unmarshal ((* plain )(c )); err != nil {
@@ -360,7 +360,7 @@ type PagerdutyImage struct {
360360}
361361
362362// UnmarshalYAML implements the yaml.Unmarshaler interface.
363- func (c * PagerdutyConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
363+ func (c * PagerdutyConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
364364 * c = DefaultPagerdutyConfig
365365 type plain PagerdutyConfig
366366 if err := unmarshal ((* plain )(c )); err != nil {
@@ -403,7 +403,7 @@ type SlackAction struct {
403403}
404404
405405// UnmarshalYAML implements the yaml.Unmarshaler interface for SlackAction.
406- func (c * SlackAction ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
406+ func (c * SlackAction ) UnmarshalYAML (unmarshal func (any ) error ) error {
407407 type plain SlackAction
408408 if err := unmarshal ((* plain )(c )); err != nil {
409409 return err
@@ -438,7 +438,7 @@ type SlackConfirmationField struct {
438438}
439439
440440// UnmarshalYAML implements the yaml.Unmarshaler interface for SlackConfirmationField.
441- func (c * SlackConfirmationField ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
441+ func (c * SlackConfirmationField ) UnmarshalYAML (unmarshal func (any ) error ) error {
442442 type plain SlackConfirmationField
443443 if err := unmarshal ((* plain )(c )); err != nil {
444444 return err
@@ -460,7 +460,7 @@ type SlackField struct {
460460}
461461
462462// UnmarshalYAML implements the yaml.Unmarshaler interface for SlackField.
463- func (c * SlackField ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
463+ func (c * SlackField ) UnmarshalYAML (unmarshal func (any ) error ) error {
464464 type plain SlackField
465465 if err := unmarshal ((* plain )(c )); err != nil {
466466 return err
@@ -507,7 +507,7 @@ type SlackConfig struct {
507507}
508508
509509// UnmarshalYAML implements the yaml.Unmarshaler interface.
510- func (c * SlackConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
510+ func (c * SlackConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
511511 * c = DefaultSlackConfig
512512 type plain SlackConfig
513513 if err := unmarshal ((* plain )(c )); err != nil {
@@ -542,7 +542,7 @@ type WebhookConfig struct {
542542}
543543
544544// UnmarshalYAML implements the yaml.Unmarshaler interface.
545- func (c * WebhookConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
545+ func (c * WebhookConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
546546 * c = DefaultWebhookConfig
547547 type plain WebhookConfig
548548 if err := unmarshal ((* plain )(c )); err != nil {
@@ -579,7 +579,7 @@ const wechatValidTypesRe = `^(text|markdown)$`
579579var wechatTypeMatcher = regexp .MustCompile (wechatValidTypesRe )
580580
581581// UnmarshalYAML implements the yaml.Unmarshaler interface.
582- func (c * WechatConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
582+ func (c * WechatConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
583583 * c = DefaultWechatConfig
584584 type plain WechatConfig
585585 if err := unmarshal ((* plain )(c )); err != nil {
@@ -624,7 +624,7 @@ const opsgenieValidTypesRe = `^(team|teams|user|escalation|schedule)$`
624624var opsgenieTypeMatcher = regexp .MustCompile (opsgenieValidTypesRe )
625625
626626// UnmarshalYAML implements the yaml.Unmarshaler interface.
627- func (c * OpsGenieConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
627+ func (c * OpsGenieConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
628628 * c = DefaultOpsGenieConfig
629629 type plain OpsGenieConfig
630630 if err := unmarshal ((* plain )(c )); err != nil {
@@ -684,7 +684,7 @@ type VictorOpsConfig struct {
684684}
685685
686686// UnmarshalYAML implements the yaml.Unmarshaler interface.
687- func (c * VictorOpsConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
687+ func (c * VictorOpsConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
688688 * c = DefaultVictorOpsConfig
689689 type plain VictorOpsConfig
690690 if err := unmarshal ((* plain )(c )); err != nil {
@@ -746,7 +746,7 @@ type PushoverConfig struct {
746746}
747747
748748// UnmarshalYAML implements the yaml.Unmarshaler interface.
749- func (c * PushoverConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
749+ func (c * PushoverConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
750750 * c = DefaultPushoverConfig
751751 type plain PushoverConfig
752752 if err := unmarshal ((* plain )(c )); err != nil {
@@ -786,7 +786,7 @@ type SNSConfig struct {
786786}
787787
788788// UnmarshalYAML implements the yaml.Unmarshaler interface.
789- func (c * SNSConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
789+ func (c * SNSConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
790790 * c = DefaultSNSConfig
791791 type plain SNSConfig
792792 if err := unmarshal ((* plain )(c )); err != nil {
@@ -815,7 +815,7 @@ type TelegramConfig struct {
815815}
816816
817817// UnmarshalYAML implements the yaml.Unmarshaler interface.
818- func (c * TelegramConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
818+ func (c * TelegramConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
819819 * c = DefaultTelegramConfig
820820 type plain TelegramConfig
821821 if err := unmarshal ((* plain )(c )); err != nil {
@@ -850,7 +850,7 @@ type MSTeamsConfig struct {
850850 Text string `yaml:"text,omitempty" json:"text,omitempty"`
851851}
852852
853- func (c * MSTeamsConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
853+ func (c * MSTeamsConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
854854 * c = DefaultMSTeamsConfig
855855 type plain MSTeamsConfig
856856 if err := unmarshal ((* plain )(c )); err != nil {
@@ -878,7 +878,7 @@ type MSTeamsV2Config struct {
878878 Text string `yaml:"text,omitempty" json:"text,omitempty"`
879879}
880880
881- func (c * MSTeamsV2Config ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
881+ func (c * MSTeamsV2Config ) UnmarshalYAML (unmarshal func (any ) error ) error {
882882 * c = DefaultMSTeamsV2Config
883883 type plain MSTeamsV2Config
884884 if err := unmarshal ((* plain )(c )); err != nil {
@@ -917,7 +917,7 @@ type JiraConfig struct {
917917 Fields map [string ]any `yaml:"fields,omitempty" json:"custom_fields,omitempty"`
918918}
919919
920- func (c * JiraConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
920+ func (c * JiraConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
921921 * c = DefaultJiraConfig
922922 type plain JiraConfig
923923 if err := unmarshal ((* plain )(c )); err != nil {
@@ -986,7 +986,7 @@ type RocketchatConfig struct {
986986}
987987
988988// UnmarshalYAML implements the yaml.Unmarshaler interface.
989- func (c * RocketchatConfig ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
989+ func (c * RocketchatConfig ) UnmarshalYAML (unmarshal func (any ) error ) error {
990990 * c = DefaultRocketchatConfig
991991 type plain RocketchatConfig
992992 if err := unmarshal ((* plain )(c )); err != nil {
0 commit comments