summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/java
diff options
context:
space:
mode:
authoredyta <edyta.krukowska@nokia.com>2020-05-21 11:29:00 +0200
committeredyta <edyta.krukowska@nokia.com>2020-05-21 13:12:13 +0200
commita7d38ba2ce5adae6c799c2df3b0c7c60e9c2ca9f (patch)
tree5d581543cc367ebc5c81e9b5f76b2c6fbaeca9b5 /csarvalidation/src/main/java
parentedbd7b22bfcd19373e1f17aa2f8f177f7df63c87 (diff)
Fix issue with loading rules properties
Issue-ID: VNFSDK-587 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I1fae95e8cd67e6aea880b96457f35e1c187a63c3
Diffstat (limited to 'csarvalidation/src/main/java')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
index 043d4dc..835bc11 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
@@ -178,7 +178,7 @@ public class VTPValidateCSAR extends OnapCommand {
private static Properties properties = new Properties();
static {
try {
- properties.load(VTPValidateCSAR.class.getClass().getResourceAsStream("/vnfreqs.properties"));
+ properties.load(VTPValidateCSAR.class.getResourceAsStream("/vnfreqs.properties"));
} catch (Exception e) {
LOG.error(e.getMessage(), e);
}