Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update
Browse files Browse the repository at this point in the history
Smityz committed Sep 21, 2020

Verified

This commit was signed with the committer’s verified signature.
StanHannebelle Stan Hannebelle
1 parent 3945873 commit 38fc91e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shell/commands/data_operations.cpp
Original file line number Diff line number Diff line change
@@ -2666,6 +2666,7 @@ bool calculate_hash_value(command_executor *e, shell_context *sc, arguments args
return true;
}

// TODO: (Tangyanzhao) merge hotspot_partition_calculator::send_hotkey_detect_request
bool detect_hotkey(command_executor *e, shell_context *sc, arguments args)
{
static struct option long_options[] = {{"partition_num", required_argument, 0, 'p'},
@@ -2702,7 +2703,7 @@ bool detect_hotkey(command_executor *e, shell_context *sc, arguments args)
if (!state) {
fprintf(stderr, "%s\n", err_info.c_str());
} else {
std::cout << hotkey_action << " hotkey succeed" << std::endl;
std::cout << hotkey_action << " detecting hotkey succeed" << std::endl;
}
return true;
}

0 comments on commit 38fc91e

Please sign in to comment.