From 5b65cc7b0854a90cf6d9309fa883211cba080c40 Mon Sep 17 00:00:00 2001 From: Dana Hoffman <1130694+danawillow@users.noreply.github.com> Date: Mon, 13 May 2024 17:40:56 -0700 Subject: [PATCH] Remove omitempty from StartsAfter/EndsBefore in ValueExtractor --- pagerduty/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pagerduty/service.go b/pagerduty/service.go index 771efd7..2dbca2e 100644 --- a/pagerduty/service.go +++ b/pagerduty/service.go @@ -122,8 +122,8 @@ type Predicate struct { type ValueExtractor struct { ValueName string `json:"value_name,omitempty"` Part string `json:"part,omitempty"` - StartsAfter string `json:"starts_after,omitempty"` - EndsBefore string `json:"ends_before,omitempty"` + StartsAfter string `json:"starts_after"` + EndsBefore string `json:"ends_before"` Type string `json:"type,omitempty"` Regex string `json:"regex,omitempty"` }