diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-24 14:45:15 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-24 14:45:15 +0200 |
commit | 9f4ddb42153f55675f7739eadacdcc8294fe07be (patch) | |
tree | 2ccbed8d318c4a322079db999b692444458eb623 /directory | |
parent | fe3bf2627b35745b12ebdef9249c0fc1176dd0b5 (diff) |
Use MasterLocation in directory service.
Diffstat (limited to 'directory')
-rw-r--r-- | directory/src/main/java/com/orbekk/same/directory/DirectoryServiceImpl.java | 2 |
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()); } |