summaryrefslogtreecommitdiff
path: root/directory
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-24 14:45:15 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-24 14:45:15 +0200
commit9f4ddb42153f55675f7739eadacdcc8294fe07be (patch)
tree2ccbed8d318c4a322079db999b692444458eb623 /directory
parentfe3bf2627b35745b12ebdef9249c0fc1176dd0b5 (diff)
Use MasterLocation in directory service.
Diffstat (limited to 'directory')
-rw-r--r--directory/src/main/java/com/orbekk/same/directory/DirectoryServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/directory/src/main/java/com/orbekk/same/directory/DirectoryServiceImpl.java b/directory/src/main/java/com/orbekk/same/directory/DirectoryServiceImpl.java
index 2e3cd80..317e4a9 100644
--- a/directory/src/main/java/com/orbekk/same/directory/DirectoryServiceImpl.java
+++ b/directory/src/main/java/com/orbekk/same/directory/DirectoryServiceImpl.java
@@ -51,7 +51,7 @@ public class DirectoryServiceImpl extends Services.Directory {
NetworkDirectory.Builder directory = NetworkDirectory.newBuilder();
for (NetworkEntry e : networkList) {
directory.addNetwork(MasterState.newBuilder()
- .setMasterUrl(e.masterUrl)
+ .setMasterLocation(e.masterUrl)
.setNetworkName(e.networkName)
.build());
}