commit | c58776c20d1d6428a2bc0fb0b9132f7774807a97 | [log] [tgz] |
---|---|---|
author | pier <pier@opennetworking.org> | Wed Oct 09 18:08:43 2019 +0200 |
committer | Pier Luigi Ventre <pier@opennetworking.org> | Mon Oct 14 07:44:35 2019 +0000 |
tree | c077ce3583efb4ebac8b0c72592d234cd0820651 | |
parent | d3687507973658401380c5997773ccb078cf2ef3 [diff] |
Fix IllegalArgumentException in FpmSetAcceptRoutesCommand Change-Id: I7b85f3e49a6f864b37586c0e8f4945f6a17f44f0 (cherry picked from commit 45d557eb9ef1cde02099782c3e49a852932feacf)
diff --git a/apps/routing/fpm/app/src/main/java/org/onosproject/routing/fpm/cli/FpmSetAcceptRoutesCommand.java b/apps/routing/fpm/app/src/main/java/org/onosproject/routing/fpm/cli/FpmSetAcceptRoutesCommand.java index 2ec0713..44cd120 100644 --- a/apps/routing/fpm/app/src/main/java/org/onosproject/routing/fpm/cli/FpmSetAcceptRoutesCommand.java +++ b/apps/routing/fpm/app/src/main/java/org/onosproject/routing/fpm/cli/FpmSetAcceptRoutesCommand.java
@@ -40,7 +40,7 @@ required = true) String peerPort = null; - @Argument(index = 1, name = "acceptRoutes", description = "Flag to accept or discard routes", + @Argument(index = 2, name = "acceptRoutes", description = "Flag to accept or discard routes", required = true) String acceptRoutesString = null;