Skip to content

Commit bddd673

Browse files
authored
Merge pull request #406 from msiegenthaler/master
fix: statuscake response parse error
2 parents 21d1cc0 + 77af389 commit bddd673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/monitors/statuscake/statuscake-responses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type StatusCakeMonitorData struct {
2121
ContactGroup []string `json:"contact_groups"`
2222
Status string `json:"status"`
2323
Tags []string `json:"tags"`
24-
Uptime int `json:"uptime"`
24+
Uptime float64 `json:"uptime"`
2525
}
2626
type StatusCakeMonitorMetadata struct {
2727
Page int `json:"page"`

0 commit comments

Comments
 (0)