Skip to content

Commit

Permalink
fix: stop-time validation issue (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
spy16 authored Mar 1, 2023
1 parent 94634f7 commit 8f17dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/v1/firehose/mappings.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type firehoseLabels struct {

type moduleConfig struct {
State string `json:"state"`
StopTime *time.Time `json:"stop_time"`
StopTime *time.Time `json:"stop_time,omitempty"`
Telegraf map[string]interface{} `json:"telegraf"`
Firehose moduleConfigFirehoseDef `json:"firehose"`
}
Expand Down

0 comments on commit 8f17dee

Please sign in to comment.