Update knative CRD status with "UpdateStatus" instead of "Update" #2274
Labels
area/API
API objects and controllers
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/spec
Discussion of how a feature should be exposed to customers.
Expected Behavior
Updating knative CRD status with kube client with "UpdateStatus" .
Actual Behavior
We are calling "Update" interface for status update.
Additional Info
As described in #2189 (comment), currently we are calling "Update" interface for CRD resources status update. And related codes are commented with "for CRD there's no updatestatus, so use normal update".
Is it just cruft due to historic reasons? or currently there's still bug (that I'm not aware of) in
UpdateStatus
for CRDs that block us from moving forward?Can we just get rid of this and call
UpdateStatus
for status update directly?/cc @vaikas-google @mattmoor @tcnghia for thoughts
The text was updated successfully, but these errors were encountered: