If we are removing the default we confirm too
(actionOpts *action.ActionsOpts, name string)
| 104 | |
| 105 | // If we are removing the default we confirm too |
| 106 | func confirmDefaultCASBackendRemoval(actionOpts *action.ActionsOpts, name string) (bool, error) { |
| 107 | return confirmDefaultCASBackendUnset(name, "You are deleting the default CAS backend.", actionOpts) |
| 108 | } |
| 109 | |
| 110 | func confirmDefaultCASBackendUnset(name, msg string, actionOpts *action.ActionsOpts) (bool, error) { |
| 111 | // get existing backends |
no test coverage detected