Skip to content

Commit

Permalink
Fix compile failure
Browse files Browse the repository at this point in the history
  • Loading branch information
gihwan.kim committed Dec 17, 2021
1 parent b2f31ea commit dc9f411
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public CompletableFuture<ServerStatus> updateStatus(ServiceRequestContext ctx,
if (oldStatus.writable != writable) {
executor().setWritable(writable);
if (writable) {
logger.warn("Left read-only mode. replication: {}", replicating);
logger.warn("Left read-only mode.");
} else {
logger.warn("Entered read-only mode. replication: {}", replicating);
}
Expand All @@ -139,7 +139,6 @@ public CompletableFuture<ServerStatus> updateStatus(ServiceRequestContext ctx,
}
return status();
});
}
}

return CompletableFuture.completedFuture(status());
Expand Down

0 comments on commit dc9f411

Please sign in to comment.