Sent Network Success Message if we receive events
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
f832b44f9e
commit
6c07e097df
|
@ -54,6 +54,7 @@ func (nc *networkCheck) run() {
|
||||||
// through other actions
|
// through other actions
|
||||||
// we reset out timer
|
// we reset out timer
|
||||||
lastMessageReceived = time.Now()
|
lastMessageReceived = time.Now()
|
||||||
|
nc.bus.Publish(event.NewEvent(event.NetworkStatus, map[event.Field]string{event.Error: "", event.Status: "Success"}))
|
||||||
}
|
}
|
||||||
case <-time.After(tickTime):
|
case <-time.After(tickTime):
|
||||||
// if we haven't received an action in the last minute...kick off a set of testing
|
// if we haven't received an action in the last minute...kick off a set of testing
|
||||||
|
|
Loading…
Reference in New Issue