aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/java
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-04-04 17:33:38 +0530
committersharath reddy <bs.reddy@huawei.com>2022-04-04 17:34:01 +0530
commitbf8673b34fa7724955e088fa956f0b724f19b224 (patch)
tree23805d5477aa6eadcb8e977e98b01672ec12f7ed /framework/src/main/java
parent92fc83e29f8ddf853555471ac4889342d89286cc (diff)
Changed an instance-reference to a static reference.
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I6762dd800659648ed84e79deb07a69d979d4cf83
Diffstat (limited to 'framework/src/main/java')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileUnsetCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileUnsetCommand.java b/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileUnsetCommand.java
index 06474ec2..e1c17351 100644
--- a/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileUnsetCommand.java
+++ b/framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileUnsetCommand.java
@@ -56,7 +56,7 @@ public class OnapProfileUnsetCommand extends OnapCommand {
Map<String, OnapCommandParamEntity> map = new HashMap<>();
- for (OnapCommandParamEntity paramsExisting : cache.getInstance().loadParamFromCache(profile)) {
+ for (OnapCommandParamEntity paramsExisting : OnapCommandProfileStore.getInstance().loadParamFromCache(profile)) {
map.put(paramsExisting.getProduct() + ":" + paramsExisting.getName(), paramsExisting);
}