Skip to content

Commit f8306cc

Browse files
committed
Remove no effect omitempty
1 parent 94b83ae commit f8306cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

instances.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ type InstanceBackup struct {
110110
Schedule struct {
111111
Day string `json:"day,omitempty"`
112112
Window string `json:"window,omitempty"`
113-
} `json:"schedule,omitempty"`
113+
} `json:"schedule"`
114114
}
115115

116116
type InstanceDiskEncryption string

monitor_api_services.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ type MetricRelativeTimeDuration struct {
9393

9494
// MetricAbsoluteTimeDuration specifies an absolute time range for data queries
9595
type MetricAbsoluteTimeDuration struct {
96-
Start time.Time `json:"start,omitempty"`
97-
End time.Time `json:"end,omitempty"`
96+
Start time.Time `json:"start"`
97+
End time.Time `json:"end"`
9898
}
9999

100100
// FetchEntityMetrics returns metrics information for the individual entities within a specific service type

0 commit comments

Comments
 (0)