aboutsummaryrefslogtreecommitdiff
path: root/collector/diskstats_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'collector/diskstats_darwin.go')
-rw-r--r--collector/diskstats_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/diskstats_darwin.go b/collector/diskstats_darwin.go
index 89622a3..864220b 100644
--- a/collector/diskstats_darwin.go
+++ b/collector/diskstats_darwin.go
@@ -189,7 +189,7 @@ func NewDiskstatsCollector(logger log.Logger) (Collector, error) {
189func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) error { 189func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) error {
190 diskStats, err := iostat.ReadDriveStats() 190 diskStats, err := iostat.ReadDriveStats()
191 if err != nil { 191 if err != nil {
192 return fmt.Errorf("couldn't get diskstats: %s", err) 192 return fmt.Errorf("couldn't get diskstats: %w", err)
193 } 193 }
194 194
195 for _, stats := range diskStats { 195 for _, stats := range diskStats {