commit | dc5fb025281dd346f3c1b17d18dcd190ec87be5d | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Fri Oct 19 16:32:07 2018 -0700 |
committer | Charles Chan <charles@opennetworking.org> | Mon Oct 29 23:01:23 2018 +0000 |
tree | 017757dda218b5e31ae288dc651a17299e8a174c | |
parent | 4a694f692cc8f38f89cd4da76eb0eaa407e3cc41 [diff] |
Change the service dependency to mandatory Change-Id: I81f42c9a72231ffd9dd0e0045b46225a6ccf819f
diff --git a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java index b65faa9..1f41fda 100644 --- a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java +++ b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java
@@ -117,7 +117,7 @@ @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) public MastershipService mastershipService; - @Reference(cardinality = ReferenceCardinality.OPTIONAL_UNARY) + @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) public SegmentRoutingService srService; @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)