summaryrefslogtreecommitdiff
path: root/same/src/main/java
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-24 12:21:40 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-24 12:22:00 +0200
commit2ef7691606aa86b10e16be93efa9cc7c277c8050 (patch)
tree5621fb551aefe827832e4c3447b324d1c05f9324 /same/src/main/java
parent808e9f8c51b32cd052254d25cb6f4c27d353de2b (diff)
Fix compiler error in Client.
Diffstat (limited to 'same/src/main/java')
-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.");