Minor style fixes

This commit is contained in:
Arturo Filastò 2018-03-20 14:31:05 +01:00
parent 268b4ce5bb
commit bd6c5b20d0
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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