1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: make configuring max procs not exit in case of error (#7588)

* fix: make configuring max procs not exit

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-06-19 18:27:00 +02:00 committed by GitHub
parent 2d060fae36
commit 6de0b8461f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,8 @@ func setupMaxProcs(logger logr.Logger) func() {
},
),
)
checkError(logger, err, "failed to configure maxprocs")
if err != nil {
logger.Error(err, "failed to configure maxprocs")
}
return undo
}