mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 10:07:22 +00:00
go1.16 (#14783)
This commit is contained in:
3
vendor/github.com/prometheus/procfs/xfrm.go
generated
vendored
3
vendor/github.com/prometheus/procfs/xfrm.go
generated
vendored
@ -112,8 +112,7 @@ func (fs FS) NewXfrmStat() (XfrmStat, error) {
|
||||
fields := strings.Fields(s.Text())
|
||||
|
||||
if len(fields) != 2 {
|
||||
return XfrmStat{}, fmt.Errorf(
|
||||
"couldn't parse %s line %s", file.Name(), s.Text())
|
||||
return XfrmStat{}, fmt.Errorf("couldn't parse %q line %q", file.Name(), s.Text())
|
||||
}
|
||||
|
||||
name := fields[0]
|
||||
|
Reference in New Issue
Block a user