mirror of https://github.com/statping/statping
checkin test
parent
37e405df77
commit
434c8f2906
|
@ -25,6 +25,9 @@ func (c *Checkin) RecheckCheckinFailure(guard chan struct{}) {
|
||||||
|
|
||||||
// checkinRoutine for checking if the last Checkin was within its interval
|
// checkinRoutine for checking if the last Checkin was within its interval
|
||||||
func (c *Checkin) checkinRoutine() {
|
func (c *Checkin) checkinRoutine() {
|
||||||
|
if c == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
lastHit := c.LastHit()
|
lastHit := c.LastHit()
|
||||||
if lastHit == nil {
|
if lastHit == nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue