Skip to content

Commit

Permalink
fix rdb.tcl after error string change
Browse files Browse the repository at this point in the history
Signed-off-by: ranshid <[email protected]>
  • Loading branch information
ranshid committed Jul 9, 2024
1 parent 6b823e3 commit 63f9529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands.def
Original file line number Diff line number Diff line change
Expand Up @@ -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}
};

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/rdb.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}


Expand Down

0 comments on commit 63f9529

Please sign in to comment.