Skip to content

Commit

Permalink
Fix codacy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHogan committed Apr 8, 2021
1 parent fb573e7 commit 8fca6fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metadata_management.cc
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ void LocalDestroyBlobById(SharedMemoryContext *context, RpcContext *rpc,

if (blob_name.size() > 0) {
MetadataManager *mdm = GetMetadataManagerFromContext(context);
DeleteBlobId(mdm, rpc, blob_name.c_str(), bucket_id);
DeleteBlobId(mdm, rpc, blob_name, bucket_id);
} else {
// TODO(chogan): @errorhandling
DLOG(INFO) << "Expected to find blob_id " << blob_id.as_int
Expand Down Expand Up @@ -777,7 +777,7 @@ void RenameBucket(SharedMemoryContext *context, RpcContext *rpc, BucketID id,
const std::string &old_name, const std::string &new_name) {
u32 target_node = id.bits.node_id;
if (target_node == rpc->node_id) {
LocalRenameBucket(context, rpc, id, old_name.c_str(), new_name.c_str());
LocalRenameBucket(context, rpc, id, old_name, new_name);
} else {
RpcCall<bool>(rpc, target_node, "RemoteRenameBucket", id, old_name,
new_name);
Expand Down

0 comments on commit 8fca6fd

Please sign in to comment.