Update dependencies

This commit is contained in:
TwinProduction committed 2021-10-03 22:15:20 -04:00
1 parent 2d3fe9795f
commit 154bc7dbc6
1204 files changed
+373532 -50576

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ type PSIStats struct {
func (fs FS) PSIStatsForResource(resource string) (PSIStats, error) {
data, err := util.ReadFileNoStat(fs.proc.Path(fmt.Sprintf("%s/%s", "pressure", resource)))
if err != nil {
return PSIStats{}, fmt.Errorf("psi_stats: unavailable for %s", resource)
return PSIStats{}, fmt.Errorf("psi_stats: unavailable for %q: %w", resource, err)
}
return parsePSIStats(resource, bytes.NewReader(data))