Skip to content

Commit ae5067e

Browse files
committed
SUMO-199581: add omitempty
1 parent a8c1737 commit ae5067e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sumologic/resource_sumologic_monitors_library_monitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ resource "sumologic_monitor" "test_monitor_connection" {
10191019
content_type = "Monitor"
10201020
monitor_type = "Logs"
10211021
evaluation_delay = "8m"
1022-
time_zone = "IST"
1022+
time_zone = "Asia/Kolkata"
10231023
queries {
10241024
row_id = "A"
10251025
query = "_sourceCategory=monitor-manager info"

sumologic/sumologic_monitors_library_monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ type MonitorsLibraryMonitor struct {
150150
SloID string `json:"sloId,omitempty"`
151151
NotificationGroupFields []string `json:"notificationGroupFields,omitempty"`
152152
Tags map[string]interface{} `json:"tags"`
153-
TimeZone string `json:"timeZone"`
153+
TimeZone string `json:"timeZone,omitempty"`
154154
}
155155

156156
type MonitorQuery struct {

0 commit comments

Comments
 (0)