summaryrefslogtreecommitdiff
path: root/directory/src
diff options
context:
space:
mode:
Diffstat (limited to 'directory/src')
-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());
}