diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2019-03-11 03:03:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-11 03:03:57 +0000 |
commit | d4af899cf464a44492e5f558ea4b6819c073decf (patch) | |
tree | a6e5195e4587dc428d4bf531268b557962090abc /framework | |
parent | 19cfa60bb0773b99125c25efb8e2a58939d42085 (diff) | |
parent | 33231902394988e45ab8bfde466ccf023ca227aa (diff) |
Merge changes I1498aca2,I0ae68064
* changes:
Fix ignore default param while schema-show
Add context to multipart http profile
Diffstat (limited to 'framework')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java index 8c97bd30..34b82212 100644 --- a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java +++ b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java @@ -299,7 +299,7 @@ public class OnapCommandDiscoveryUtils { if (deafultResourceMap.containsKey(PARAMETERS)) { List<Object> params = new ArrayList<>(); for (Map<String, ?> p: (List<Map<String, ?>>) deafultResourceMap.get(PARAMETERS)) { - if (p.keySet().contains(IS_DEFAULT_PARAM) && (Boolean) p.get(IS_DEFAULT_PARAM)) { + if (p.keySet().contains(IS_DEFAULT_PARAM) && !((Boolean) p.get(IS_DEFAULT_PARAM))) { params.add(p); } } |