use defer
when deleting kubelet-boostrap.conf
#1699
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/active
Indicates that an issue or PR is actively being worked on by a contributor.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Milestone
with this PR merging we are now deleting kubelet-boostrap.conf after boostrap.
however it is better to use
defer
as outlined in this comment:kubernetes/kubernetes#80676 (comment)
if you see this ticket please send a PR for kubernetes/kubernetes to use Go's
defer
for that particular logic, modifying the same file the PR above touches.The text was updated successfully, but these errors were encountered: