summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-18 17:02:09 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-18 17:02:09 +0530
commitd3e9f3f48cfbd5f4b2315075c52b45cbf47620bf (patch)
treee4598c2f6dde5c613f68310bcbf391f6e55a143f /main
parentc4eb2182d3d8639158ad9924d7e53cb4fc074208 (diff)
VTP: Fix map input treat as stringhttp-migration
Issue-ID: VNFSDK-305 Change-Id: Idd9ccdbbd391863fcd186091d60cf4d5d9fb7ea2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java b/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java
index d5807d79..cf884ea9 100644
--- a/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java
+++ b/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java
@@ -149,7 +149,8 @@ public class OnapCliArgsParser {
}
//Make sure to read values from file, in case file path is given.
- map.put(argArr[0], readTextStringFromUrl(argArr[1], paramMap.get(paramName).getName()));
+ //map.put(argArr[0], readTextStringFromUrl(argArr[1], paramMap.get(paramName).getName()));
+ map.put(argArr[0], argArr[1]);
paramMap.get(paramName).setValue(map);
i++;
continue;