aboutsummaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-23 21:56:38 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-23 21:56:38 +0530
commitfbcf7425ab04e8a06412e82b63bac42f19b25aef (patch)
tree8a70104a870496ceb92fe12aeda36365c58577bc /framework
parent39e959138929fcadef461b2fb6a14990435c20e8 (diff)
Fix Version directive to print current p version
CLI-2 Change-Id: I85eac5af5637e4123241d4695edf9332b5b503d8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java b/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java
index 53c2b879..2a16cb79 100644
--- a/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java
+++ b/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java
@@ -264,7 +264,7 @@ public class OnapCommandRegistrar {
version = OnapCommandConfg.getVersion();
}
- String configuredProductVersion = OnapCommandConfg.getEnabledProductVersion();
+ String configuredProductVersion = this.getEnabledProductVersion();
String errorNote = "";
String usageNote = "\n\nTo enable a product version, use one of following methods:"