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:
parent
2d060fae36
commit
6de0b8461f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue