mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01: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 New Issue
Block a user