Rename "delete local data" checkbox description in drain dialog (#3060)

* Rename DeleteEmptyDirData checkbox to properly reflect the kubectl drain cli option

* Fix capitalization
mine
Johannes 2025-02-01 15:53:54 +00:00 committed by GitHub
parent 2754d8f188
commit 18b2ada6a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func ShowDrain(view ResourceViewer, sels []string, opts dao.DrainOptions, okFn D
f.AddCheckbox("Ignore DaemonSets:", opts.IgnoreAllDaemonSets, func(_ string, v bool) { f.AddCheckbox("Ignore DaemonSets:", opts.IgnoreAllDaemonSets, func(_ string, v bool) {
opts.IgnoreAllDaemonSets = v opts.IgnoreAllDaemonSets = v
}) })
f.AddCheckbox("Delete Local Data:", opts.DeleteEmptyDirData, func(_ string, v bool) { f.AddCheckbox("Delete EmptyDir Data:", opts.DeleteEmptyDirData, func(_ string, v bool) {
opts.DeleteEmptyDirData = v opts.DeleteEmptyDirData = v
}) })
f.AddCheckbox("Force:", opts.Force, func(_ string, v bool) { f.AddCheckbox("Force:", opts.Force, func(_ string, v bool) {