Revert "Disable cache attach and detach"

This reverts commit f34328adf2.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
Robert Baldyga
2024-11-27 13:41:00 +01:00
parent c3bb599f0e
commit 75038692cd
2 changed files with 2 additions and 9 deletions

View File

@@ -2237,7 +2237,7 @@ static cli_command cas_commands[] = {
.options = attach_cache_options,
.command_handle_opts = start_cache_command_handle_option,
.handle = handle_cache_attach,
.flags = (CLI_SU_REQUIRED | CLI_COMMAND_BLOCKED),
.flags = CLI_SU_REQUIRED,
.help = NULL,
},
{
@@ -2247,7 +2247,7 @@ static cli_command cas_commands[] = {
.options = detach_options,
.command_handle_opts = command_handle_option,
.handle = handle_cache_detach,
.flags = (CLI_SU_REQUIRED | CLI_COMMAND_BLOCKED),
.flags = CLI_SU_REQUIRED,
.help = NULL,
},
{