Temporary hack to DistributedMastershipStore to return non-null instance
Change-Id: I08d03be4a0ab3df09218eb0380d970818ac125b6
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -119,8 +119,8 @@ implements MastershipStore { | ... | @@ -119,8 +119,8 @@ implements MastershipStore { |
119 | 119 | ||
120 | @Override | 120 | @Override |
121 | public MastershipTerm getTermFor(DeviceId deviceId) { | 121 | public MastershipTerm getTermFor(DeviceId deviceId) { |
122 | - // TODO Auto-generated method stub | 122 | + // FIXME: implement this |
123 | - return null; | 123 | + return MastershipTerm.of(getMaster(deviceId), 1); |
124 | } | 124 | } |
125 | 125 | ||
126 | @Override | 126 | @Override | ... | ... |
-
Please register or login to post a comment