Skip to content

Commit

Permalink
Fix linting failure
Browse files Browse the repository at this point in the history
  • Loading branch information
crobert-1 committed Mar 27, 2024
1 parent 9c894ca commit 5d41386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/sqlserverreceiver/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (s *sqlServerScraperHelper) recordDatabaseIOMetrics(ctx context.Context, rb
rb.SetSqlserverInstanceName(row[instanceNameKey])
}

val, err = strconv.ParseFloat(row[readyLatencyMsKey], 10)
val, err = strconv.ParseFloat(row[readyLatencyMsKey], 64)
if err != nil {
err = fmt.Errorf("row %d: %w", i, err)
errs = append(errs, err)
Expand Down

0 comments on commit 5d41386

Please sign in to comment.