aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {