mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 23:33:25 +00:00
Rename Makefile targets
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
2
gateway/vendor/github.com/prometheus/procfs/proc_stat.go
generated
vendored
2
gateway/vendor/github.com/prometheus/procfs/proc_stat.go
generated
vendored
@ -138,7 +138,7 @@ func (p Proc) Stat() (ProcStat, error) {
|
||||
)
|
||||
|
||||
if l < 0 || r < 0 {
|
||||
return ProcStat{}, fmt.Errorf("unexpected format, couldn't extract comm %q", data)
|
||||
return ProcStat{}, fmt.Errorf("%w: unexpected format, couldn't extract comm %q", ErrFileParse, data)
|
||||
}
|
||||
|
||||
s.Comm = string(data[l+1 : r])
|
||||
|
Reference in New Issue
Block a user