Get web_connectivity to work with dynamic URL fetching

This commit is contained in:
Arturo Filastò 2018-03-23 12:41:06 +01:00
commit 00859e87a6
6 changed files with 104 additions and 8 deletions

View file

@ -33,6 +33,12 @@ func init() {
}
log.Debugf("Running test group %s", group.Label)
err = ctx.MaybeLocationLookup()
if err != nil {
log.WithError(err).Error("Failed to lookup the location of the probe")
return err
}
result, err := database.CreateResult(ctx.DB, ctx.Home, database.Result{
Name: *nettestGroup,
StartTime: time.Now().UTC(),