diff options
author | sharath reddy <bs.reddy@huawei.com> | 2022-04-04 17:25:57 +0530 |
---|---|---|
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2022-04-07 12:31:16 +0000 |
commit | 05f9d80976a18e7329d199acca67cc381bfbae30 (patch) | |
tree | c6ae93568d8ba4fa0b2ff9665516dd2ce85e7aac /framework/src/main | |
parent | a1155edc0fd5fa6e6b11e50a3f5e7a96b91970a5 (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')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/cmd/profile/OnapProfileSetCommand.java | 2 |
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) { |