commit | 86ad7bb5e77bc2ee14420f433e5a74dd2a2a7f8e | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Thu Sep 27 12:32:28 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Sep 28 11:21:43 2018 -0700 |
tree | 5a2bf1c01b849467d485a0811a8f288e64259fdb | |
parent | d84f89ba3d18fb8e9c44fa0bab004d24c56b0a81 [diff] [blame] |
[WIP] apps CLI changes for karaf upgrade Change-Id: I283efc39c7d4f4b31344f1d2d0cdd2b98a60932d
diff --git a/apps/test/election/src/main/java/org/onosproject/election/cli/ElectionTestLeaderCommand.java b/apps/test/election/src/main/java/org/onosproject/election/cli/ElectionTestLeaderCommand.java index aab47b0..16e426e 100644 --- a/apps/test/election/src/main/java/org/onosproject/election/cli/ElectionTestLeaderCommand.java +++ b/apps/test/election/src/main/java/org/onosproject/election/cli/ElectionTestLeaderCommand.java
@@ -16,7 +16,7 @@ package org.onosproject.election.cli; import org.onosproject.cluster.NodeId; -import org.apache.karaf.shell.commands.Command; +import org.apache.karaf.shell.api.action.Command; import org.onosproject.cli.AbstractShellCommand; import org.onosproject.cluster.LeadershipService; @@ -31,7 +31,7 @@ private static final String ELECTION_APP = "org.onosproject.election"; @Override - protected void execute() { + protected void doExecute() { LeadershipService service = get(LeadershipService.class); //print the current leader