diff --git a/src/commands.def b/src/commands.def index aebc5087e1..2a2ac24f61 100644 --- a/src/commands.def +++ b/src/commands.def @@ -6331,7 +6331,7 @@ struct COMMAND_STRUCT ACL_Subcommands[] = { /* BGSAVE command table */ struct COMMAND_STRUCT BGSAVE_Subcommands[] = { -{MAKE_CMD("cancel","Terminates a running bgsave child process.","O(1)","8.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,BGSAVE_CANCEL_History,0,BGSAVE_CANCEL_Tips,0,bgsaveCancelCommand,-1,CMD_ADMIN,ACL_CATEGORY_CONNECTION,BGSAVE_CANCEL_Keyspecs,0,NULL,0)}, +{MAKE_CMD("cancel","Terminates a running bgsave child process.","O(1)","8.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,BGSAVE_CANCEL_History,0,BGSAVE_CANCEL_Tips,0,bgsaveCancelCommand,-1,CMD_ADMIN,0,BGSAVE_CANCEL_Keyspecs,0,NULL,0)}, {0} }; diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index 2456a38be5..f1c8129b4a 100644 --- a/tests/integration/rdb.tcl +++ b/tests/integration/rdb.tcl @@ -206,7 +206,7 @@ start_server {} { } else { fail "bgsave is currently running" } - assert_error "ERR Background save is currently not in progress" {r bgsave cancel} + assert_error "ERR Background bgsave is currently not in progress" {r bgsave cancel} }