chore: fix: finalize was missing from the octx context#799
Conversation
2314f90 to
02c6a3b
Compare
e1d5ff3 to
d7e20af
Compare
c1eece8 to
6690057
Compare
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
6690057 to
ae1f5ab
Compare
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Bräutigam <gergely.brautigam@sap.com>
e4a102f to
142fc2c
Compare
frewilhelm
left a comment
There was a problem hiding this comment.
i think the PR desc could get a bit more love :D
| flag.StringVar( | ||
| &pprofAddr, | ||
| "pprof-bind-address", | ||
| "", | ||
| "The address the pprof endpoint binds to. Disabled if empty.", | ||
| ) |
There was a problem hiding this comment.
do you want to leave that in?
There was a problem hiding this comment.
I would like to, yeah. It's optional. 🤔 and honestly, I'm debating to do something similar on k8s-toolkit. But akin to Kro's approach here: https://github.com/kubernetes-sigs/kro/blob/main/cmd/controller/pprof.go
There was a problem hiding this comment.
Uses a build flag instead of a command line argument https://github.com/kubernetes-sigs/kro/blob/main/cmd/controller/pprof_disabled.go.
There was a problem hiding this comment.
Changed to Kro's approach. :)
But I'm already loving it... a LOT :D |
Co-authored-by: Frederic Wilhelm <fre.wilhelm@gmail.com> Signed-off-by: Gergely Bräutigam <skarlso777@gmail.com>
|
Will update the description as well in a sec. :) |
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
What this PR does / why we need it
Testable
ghcr.io/open-component-model/ocm-controller:v0.28.0-memory-leak-test-1Closes open-component-model/ocm-project#778.
Which issue(s) this PR is related to