Skip to content

Commit 8f17dee

Browse files
authored
fix: stop-time validation issue (#32)
1 parent 94634f7 commit 8f17dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server/v1/firehose/mappings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type firehoseLabels struct {
3333

3434
type moduleConfig struct {
3535
State string `json:"state"`
36-
StopTime *time.Time `json:"stop_time"`
36+
StopTime *time.Time `json:"stop_time,omitempty"`
3737
Telegraf map[string]interface{} `json:"telegraf"`
3838
Firehose moduleConfigFirehoseDef `json:"firehose"`
3939
}

0 commit comments

Comments
 (0)