Commit 7e36c35a authored by groot's avatar groot
Browse files

refine code


Former-commit-id: 0bb969793b2e76ece4b45d2c4d1bcf6ea8e03dfc
parents 5bb337fd bfe0af5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ ValidationUtil::ValidateTableIndexType(int32_t index_type) {
Status
ValidationUtil::ValidateTableIndexNlist(int32_t nlist) {
    if (nlist <= 0) {
        std::string msg = "Invalid nlist value: " + std::to_string(nlist);
        std::string msg = "nlist value should be greater than 0";
        SERVER_LOG_ERROR << msg;
        return Status(SERVER_INVALID_INDEX_NLIST, msg);
    }