feat: bump github.com/prometheus/procfs to v0.0.2

This commit is contained in:
draveness
2019-09-22 20:03:45 +08:00
parent ac9b2516d4
commit 57da7a3508
61 changed files with 2450 additions and 1811 deletions

View File

@@ -39,8 +39,8 @@ type ProcIO struct {
CancelledWriteBytes int64
}
// NewIO creates a new ProcIO instance from a given Proc instance.
func (p Proc) NewIO() (ProcIO, error) {
// IO creates a new ProcIO instance from a given Proc instance.
func (p Proc) IO() (ProcIO, error) {
pio := ProcIO{}
f, err := os.Open(p.path("io"))