Refactor functions for Status & Conditions handling #2906
Labels
feature-request
All issues for new features that have not been committed to
good first issue
Good for newcomers
help wanted
Looking for support from community
stale-bot-ignore
All issues that should not be automatically closed by our stale bot
Proposal
As disscuseed on #2765 (comment), we should unify the functions for Status & Conditions handling. Referencing controller related stuff here is suboptimal.
There are two locations with similar functions:
keda/controllers/keda/util/status.go
Lines 30 to 63 in 9f0ee58
keda/pkg/scaling/executor/scale_executor.go
Lines 64 to 132 in 9f0ee58
We should refactor this to have it in one place.
Use-Case
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: