commit | 0f9a68a12fc6636fb3ec2036bf7f35eb789f455d | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Oct 07 17:34:46 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Oct 07 17:34:46 2014 -0700 |
tree | cf367dbb050ce9c2b49a11389e4c979ff14a70e0 | |
parent | 3cc190759e9570cf30294f7015d7a1769ac2b628 [diff] |
Temporary hack to DistributedMastershipStore to return non-null instance Change-Id: I08d03be4a0ab3df09218eb0380d970818ac125b6
diff --git a/core/store/hz/cluster/src/main/java/org/onlab/onos/store/cluster/impl/DistributedMastershipStore.java b/core/store/hz/cluster/src/main/java/org/onlab/onos/store/cluster/impl/DistributedMastershipStore.java index aafbe4b..fafd450 100644 --- a/core/store/hz/cluster/src/main/java/org/onlab/onos/store/cluster/impl/DistributedMastershipStore.java +++ b/core/store/hz/cluster/src/main/java/org/onlab/onos/store/cluster/impl/DistributedMastershipStore.java
@@ -119,8 +119,8 @@ @Override public MastershipTerm getTermFor(DeviceId deviceId) { - // TODO Auto-generated method stub - return null; + // FIXME: implement this + return MastershipTerm.of(getMaster(deviceId), 1); } @Override