mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 15:09:45 -08:00
Merge pull request #205 from cagedmantis/cagedmantis/fix-typo-in-error-msg
fix a small typo in an error message
This commit is contained in:
commit
fddc67bda6
|
@ -258,7 +258,7 @@ func parseDiskStats(r io.Reader) (map[string]map[int]string, error) {
|
|||
|
||||
bytesWritten, err := convertDiskSectorsToBytes(diskStats[dev][6])
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("invalid value for sectors read in %s: %s", procFilePath("diskstats"), scanner.Text())
|
||||
return nil, fmt.Errorf("invalid value for sectors written in %s: %s", procFilePath("diskstats"), scanner.Text())
|
||||
}
|
||||
diskStats[dev][12] = bytesWritten
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue