Update to etcd v3.5.0 client

This commit is contained in:
Jordan Liggitt
2021-06-15 19:01:32 -04:00
parent 3a47ddccdf
commit 6448181d95
128 changed files with 2447 additions and 995 deletions

View File

@@ -16,7 +16,7 @@ package procfs
import (
"bufio"
"bytes"
"errors"
"fmt"
"regexp"
"github.com/prometheus/procfs/internal/util"
@@ -112,7 +112,7 @@ func parseInotifyInfo(line string) (*InotifyInfo, error) {
}
return i, nil
}
return nil, errors.New("invalid inode entry: " + line)
return nil, fmt.Errorf("invalid inode entry: %q", line)
}
// ProcFDInfos represents a list of ProcFDInfo structs.