commit | caf3bf784a0b62998f6b40c6df1c3e43fd559abc | [log] [tgz] |
---|---|---|
author | tom <tom@onlab.us> | Tue Sep 23 13:20:53 2014 -0700 |
committer | tom <tom@onlab.us> | Tue Sep 23 13:20:53 2014 -0700 |
tree | 31173e5765dfd13a35d098470f21408ba0aab15d | |
parent | 50d401fe1be63bde7f13ca8d3d2dd1a77f7c5b5a [diff] [blame] |
Added onos-test. Refactored the CLI classes.
diff --git a/cli/src/main/java/org/onlab/onos/cli/net/HostsListCommand.java b/cli/src/main/java/org/onlab/onos/cli/net/HostsListCommand.java index c45470c..29919a8 100644 --- a/cli/src/main/java/org/onlab/onos/cli/net/HostsListCommand.java +++ b/cli/src/main/java/org/onlab/onos/cli/net/HostsListCommand.java
@@ -30,7 +30,7 @@ @Override protected void execute() { - HostService service = getService(HostService.class); + HostService service = get(HostService.class); for (Host host : getSortedHosts(service)) { printHost(host); }