summaryrefslogtreecommitdiff
path: root/same/src
diff options
context:
space:
mode:
Diffstat (limited to 'same/src')
-rw-r--r--same/src/main/java/com/orbekk/same/Client.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/Client.java b/same/src/main/java/com/orbekk/same/Client.java
index 51d62e7..1833410 100644
--- a/same/src/main/java/com/orbekk/same/Client.java
+++ b/same/src/main/java/com/orbekk/same/Client.java
@@ -308,7 +308,7 @@ public class Client {
private void tryBecomeMaster(int failedMasterId) {
List<String> paxosUrls = getPaxosUrlsNoMaster();
- MasterProposer proposer = new MasterProposer(getUrl(), paxosUrls,
+ MasterProposer proposer = new MasterProposer(getClientState(), paxosUrls,
connections);
if (masterController == null) {
logger.warn("Could not become master: No master controller.");