Skip to content

Commit c65f063

Browse files
authored
allow locator field in DefautlDateFormat to be empty (#384)
1 parent 2d13ac5 commit c65f063

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## 2.17.0 (Unreleased)
22

3+
BUG FIXES:
4+
* Allow locator field in DefaultDateFormat to be empty (GH-384)
35

46
## 2.16.0 (May 20, 2022)
57

sumologic/sumologic_sources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type Source struct {
3434

3535
type DefaultDateFormat struct {
3636
Format string `json:"format"`
37-
Locator string `json:"locator"`
37+
Locator string `json:"locator,omitempty"`
3838
}
3939

4040
type Filter struct {

0 commit comments

Comments
 (0)