Skip to content

Commit

Permalink
[FOLD] Fix levelization break
Browse files Browse the repository at this point in the history
  • Loading branch information
undertome committed Jun 30, 2021
1 parent 1845d4e commit 3a95c3f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/ripple/nodestore/impl/DatabaseShardImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <ripple/overlay/predicates.h>
#include <ripple/protocol/HashPrefix.h>
#include <ripple/protocol/digest.h>
#include <ripple/rpc/impl/Handler.h>

#include <boost/algorithm/string/predicate.hpp>

Expand Down Expand Up @@ -1267,7 +1266,10 @@ DatabaseShardImp::startNodeToShard()

startDatabaseImportThread(lock);

return RPC::makeObjectValue("Database import initiated...");
Json::Value result(Json::objectValue);
result[jss::message] = "Database import initiated...";

return result;
}

Json::Value
Expand All @@ -1286,7 +1288,10 @@ DatabaseShardImp::stopNodeToShard()

haltDatabaseImport_ = true;

return RPC::makeObjectValue("Database import halt initiated...");
Json::Value result(Json::objectValue);
result[jss::message] = "Database import halt initiated...";

return result;
}

std::optional<std::uint32_t>
Expand Down

0 comments on commit 3a95c3f

Please sign in to comment.