Rename "delete local data" checkbox description in drain dialog (#3060)
* Rename DeleteEmptyDirData checkbox to properly reflect the kubectl drain cli option * Fix capitalizationmine
parent
2754d8f188
commit
18b2ada6a6
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue