mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
DeleteLocalData was deprecated for users of kubectl in 0.20 [1]. At the same time of the deprecation, the relevant code was also removed [2] without warning: The DeleteLocalData from the helper structure was simply renamed DeleteEmptyDirData, without shims on the exposed pkg. This is a problem, as it completely breaks kured. This should fix it, by using the new field name. [1]: https://github.com/kubernetes/kubectl/commit/56ea9621b7fc333d2d2dde8ae39c15cacf28dbf7 [2]: https://github.com/kubernetes/kubectl/commit/56ea9621b7fc333d2d2dde8ae39c15cacf28dbf7#diff-041bdcdedca650a38a8d82cf15ab6f3665b7b84a0fb44a8bb5dcdc5cd944c63d