Madan Jampani
Committed by Gerrit Code Review

Fix for ONOS-1218

Change-Id: Ica7a5c251d63c301b40b9ef2c95450c0194798cf
......@@ -109,8 +109,8 @@ public class PartitionManager implements PartitionService {
@Override
public boolean isMine(Key intentKey) {
return leadershipService.getLeader(getPartitionPath(getPartitionForKey(intentKey)))
.equals(clusterService.getLocalNode().id());
return Objects.equal(leadershipService.getLeader(getPartitionPath(getPartitionForKey(intentKey))),
clusterService.getLocalNode().id());
}
private void doRelinquish() {
......