mirror of https://github.com/statping/statping
removed extra line
parent
69a98f4b5b
commit
8892d4c314
|
@ -63,7 +63,6 @@ func FindDowntime(timeVar time.Time) []Downtime {
|
||||||
q := db.Where("start <= ? and \"end\" >= ?", timeVar, timeVar)
|
q := db.Where("start <= ? and \"end\" >= ?", timeVar, timeVar)
|
||||||
q = q.Order("id ASC ").Find(&downtime)
|
q = q.Order("id ASC ").Find(&downtime)
|
||||||
return downtime
|
return downtime
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Downtime) Create() error {
|
func (c *Downtime) Create() error {
|
||||||
|
|
Loading…
Reference in New Issue