diff options
Diffstat (limited to 'framework/src/main/java/org/onap/cli/fw/cmd/schema/OnapSchemaListCommand.java')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/cmd/schema/OnapSchemaListCommand.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/schema/OnapSchemaListCommand.java b/framework/src/main/java/org/onap/cli/fw/cmd/schema/OnapSchemaListCommand.java index 5046f44a..1273cc78 100644 --- a/framework/src/main/java/org/onap/cli/fw/cmd/schema/OnapSchemaListCommand.java +++ b/framework/src/main/java/org/onap/cli/fw/cmd/schema/OnapSchemaListCommand.java @@ -39,11 +39,7 @@ public class OnapSchemaListCommand extends OnapCommand { List<OnapCommandSchemaInfo> schemas = OnapCommandDiscoveryUtils.discoverOrLoadSchemas(true); for (OnapCommandSchemaInfo schema : schemas) { - if (schema.isIgnore()) { - continue; - } - - if (schema.getProduct().equalsIgnoreCase(product)) { + if (schema.getProduct().equalsIgnoreCase(product) && !schema.isIgnore()) { if (service.length() > 0 && !service.equalsIgnoreCase(schema.getService())) { continue; } |