aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/java
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-04-04 17:25:57 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2022-04-07 12:31:16 +0000
commit05f9d80976a18e7329d199acca67cc381bfbae30 (patch)
treec6ae93568d8ba4fa0b2ff9665516dd2ce85e7aac /framework/src/main/java
parenta1155edc0fd5fa6e6b11e50a3f5e7a96b91970a5 (diff)
Changed an instance-reference to a static reference.
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I2fb7e5665fad6c807ec191e535ac6f9b6854fee2
Diffstat (limited to 'framework/src/main/java')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileSetCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileSetCommand.java b/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileSetCommand.java
index fa83ace3..2cb3cea2 100644
--- a/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileSetCommand.java
+++ b/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileSetCommand.java
@@ -57,7 +57,7 @@ public class OnapProfileSetCommand extends OnapCommand {
Map<String, OnapCommandParamEntity> map = new HashMap<>();
try {
- for (OnapCommandParamEntity paramsExisting : cache.getInstance().loadParamFromCache(profile)) {
+ for (OnapCommandParamEntity paramsExisting : OnapCommandProfileStore.getInstance().loadParamFromCache(profile)) {
map.put(paramsExisting.getProduct() + ":" + paramsExisting.getName(), paramsExisting);
}
} catch (OnapCommandProfileNotFound e) {