Skip to content

Commit

Permalink
Rename "delete local data" checkbox description in drain dialog (#3060)
Browse files Browse the repository at this point in the history
* Rename DeleteEmptyDirData checkbox to properly reflect the kubectl drain cli option

* Fix capitalization
  • Loading branch information
Audiotape-2 authored Feb 1, 2025
1 parent 2754d8f commit 18b2ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/view/drain_dialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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
})
f.AddCheckbox("Force:", opts.Force, func(_ string, v bool) {
Expand Down

0 comments on commit 18b2ada

Please sign in to comment.