From fbcf7425ab04e8a06412e82b63bac42f19b25aef Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Sat, 23 Sep 2017 21:56:38 +0530 Subject: Fix Version directive to print current p version CLI-2 Change-Id: I85eac5af5637e4123241d4695edf9332b5b503d8 Signed-off-by: Kanagaraj Manickam k00365106 --- framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:" -- cgit 1.2.3-korg