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

@@ -127,10 +127,7 @@ func (p Proc) Stat() (ProcStat, error) {
)
if l < 0 || r < 0 {
return ProcStat{}, fmt.Errorf(
"unexpected format, couldn't extract comm: %s",
data,
)
return ProcStat{}, fmt.Errorf("unexpected format, couldn't extract comm %q", data)
}
s.Comm = string(data[l+1 : r])