mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-15 20:20:22 +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
|
return undo
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue