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