Skip to content

Commit

Permalink
fix: do not omit expect_string
Browse files Browse the repository at this point in the history
  • Loading branch information
eidam committed May 25, 2021
1 parent 1347d5a commit 6f42c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statusflare/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Monitor struct {
Scheme string `json:"schema"` // not sure if it's typo in API, but I'm using Scheme here
Method string `json:"method"`
ExpectStatus int `json:"expect_status"`
ExpectString string `json:"expect_string,omitempty"`
ExpectString string `json:"expect_string"`
NotifyAfter int `json:"notify_after"`
Worker string `json:"worker"`
Integrations []string `json:"integrations"`
Expand Down

0 comments on commit 6f42c9f

Please sign in to comment.