1
0

Update module prometheus/client_golang to v0.9.4 (#245)

Update module prometheus/client_golang to v0.9.4

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/245
This commit is contained in:
renovate
2020-04-07 20:42:06 +00:00
committed by konrad
parent 76f19db6e7
commit dda558fe1c
51 changed files with 3009 additions and 2248 deletions

View File

@ -78,7 +78,14 @@ var (
)
// NewLimits returns the current soft limits of the process.
//
// Deprecated: use p.Limits() instead
func (p Proc) NewLimits() (ProcLimits, error) {
return p.Limits()
}
// Limits returns the current soft limits of the process.
func (p Proc) Limits() (ProcLimits, error) {
f, err := os.Open(p.path("limits"))
if err != nil {
return ProcLimits{}, err