Fix completers for cfg command and component
Change-Id: I8186d12cb2cf5a1c02774271ca36411ae2a3b67b
diff --git a/cli/src/main/java/org/onosproject/cli/cfg/ComponentConfigCommand.java b/cli/src/main/java/org/onosproject/cli/cfg/ComponentConfigCommand.java
index 6c69457..2ac3a11 100644
--- a/cli/src/main/java/org/onosproject/cli/cfg/ComponentConfigCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/cfg/ComponentConfigCommand.java
@@ -31,8 +31,6 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
-import org.onosproject.cli.app.ApplicationCommandCompleter;
-import org.onosproject.cli.app.ApplicationNameCompleter;
import static com.google.common.base.Strings.isNullOrEmpty;
@@ -59,12 +57,12 @@
@Argument(index = 0, name = "command",
description = "Command name (get|set|preset)",
required = false, multiValued = false)
- @Completion(ApplicationCommandCompleter.class)
+ @Completion(ComponentConfigCommandCompleter.class)
String command = null;
@Argument(index = 1, name = "component", description = "Component name",
required = false, multiValued = false)
- @Completion(ApplicationNameCompleter.class)
+ @Completion(ComponentNameCompleter.class)
String component = null;
@Argument(index = 2, name = "name", description = "Property name",