From bd6c5b20d09b09f54ab1aa0a286a285b7ce45da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Tue, 20 Mar 2018 14:31:05 +0100 Subject: [PATCH] Minor style fixes --- internal/database/models.go | 2 +- nettests/groups/groups.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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