mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 06:59:44 -08:00
Fix go format style in filesystem collector
This commit is contained in:
parent
d1f0f2247d
commit
041de0e30c
|
@ -56,7 +56,7 @@ func (c *filesystemCollector) GetStats() (stats []filesystemStats, err error) {
|
|||
}
|
||||
|
||||
var ro float64
|
||||
if buf.Flags & ST_RDONLY != 0 {
|
||||
if buf.Flags&ST_RDONLY != 0 {
|
||||
ro = 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue