Skip to content

Commit

Permalink
Initial concept for fixing 'all' pings'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Apr 26, 2019
1 parent e812c8b commit bd14dda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion heartbeat/monitors/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ func makeByHostAllIPJob(
ipFields := resolveIPEvent(ip.String(), resolveRTT)
cont[i] = wrappers.WithFields(ipFields, pingFactory(addr))
}
return cont, nil
firstIPJob := cont[0]
_, err = firstIPJob(event)
return cont[1 : len(ips)-1], err
}
}

Expand Down

0 comments on commit bd14dda

Please sign in to comment.