Alerting: add missing yaml tag to mute time struct (#54287)

This commit is contained in:
Jean-Philippe Quéméner
2022-08-26 23:30:07 +02:00
committed by GitHub
parent 3be3b02f59
commit 49b1182f34
2 changed files with 4 additions and 3 deletions

View File

@@ -69,8 +69,8 @@ type MuteTimingPayload struct {
// swagger:model
type MuteTimeInterval struct {
config.MuteTimeInterval
Provenance models.Provenance `json:"provenance,omitempty"`
config.MuteTimeInterval `json:",inline" yaml:",inline"`
Provenance models.Provenance `json:"provenance,omitempty"`
}
func (mt *MuteTimeInterval) ResourceType() string {