diff --git a/internal/database/models.go b/internal/database/models.go index 258b4b1..d575df6 100644 --- a/internal/database/models.go +++ b/internal/database/models.go @@ -128,7 +128,7 @@ func (m *Measurement) WriteSummary(db *sqlx.DB, summary string) error { return nil } -//AddToResult adds a measurement to a result +// AddToResult adds a measurement to a result func (m *Measurement) AddToResult(db *sqlx.DB, result *Result) error { m.ResultID = result.ID finalPath := filepath.Join(result.MeasurementDir, diff --git a/nettests/groups/groups.go b/nettests/groups/groups.go index 5cc5861..091c7b3 100644 --- a/nettests/groups/groups.go +++ b/nettests/groups/groups.go @@ -56,7 +56,7 @@ var NettestGroups = map[string]NettestGroup{ } err = json.Unmarshal([]byte(m["Ndt"]), &ndtSummary) if err != nil { - log.WithError(err).Error("failed to unmarshal Dash summary") + log.WithError(err).Error("failed to unmarshal NDT summary") return "", err } summary.Bitrate = dashSummary.Bitrate