frontend: Remove unused code#4360
Conversation
|
I would double check that this code was not importable by plugins. But I think @sniok can do a better job at reviewing this one. |
|
I did catch that |
I think you just need to check if importing any of that code is at all possible. If it is, you should assume anyone can be using it even in a non-public way and we'd be breaking things for them. |
|
@joaquimrocha Got it, that pretty much only leaves |
|
I can't see overrideKubeObject used anywhere on public github https://github.com/search?q=overrideKubeObject&type=code |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: illume, skoeva The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
btw. I feel if we can't find any users on github/gitlab/google at all, I think it's fine to mark them deprecated, mention them in the release notes that we will remove them in after several releases(6 months or so). We can even ask a few times in our slack channel. If no one gets back to us... I feel it's probably safe at that point to remove them. Something to consider. |
This change removes the unused
overrideKubeObjectfunction from the frontend.