diff options
author | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2021-03-24 08:48:08 +0100 |
---|---|---|
committer | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2021-03-24 08:50:36 +0100 |
commit | a7766352f6802a714f326e4503e3ec7f87f774eb (patch) | |
tree | cc878e780a3ef4fabd1c538df4e50518c1e0b8df /src | |
parent | 4bff1528f42ea5705a02cc8ba5c08bf2453b31f1 (diff) |
Fix Sonar logger issue
Issue-ID: SDC-3185
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I7b5a6d91cfa14e4aafa939444dea9abe8b389914
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/onap/sdc/helmvalidator/helm/validation/ValidationService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/onap/sdc/helmvalidator/helm/validation/ValidationService.java b/src/main/java/org/onap/sdc/helmvalidator/helm/validation/ValidationService.java index 87363f9..ef2470a 100644 --- a/src/main/java/org/onap/sdc/helmvalidator/helm/validation/ValidationService.java +++ b/src/main/java/org/onap/sdc/helmvalidator/helm/validation/ValidationService.java @@ -92,8 +92,9 @@ public class ValidationService { String chartPath = fileManager.saveFile(file); try { String helmVersion = getSupportedHelmVersion(desiredVersion, chartPath); + String fileName = replaceBlankCharacters(file.getOriginalFilename()); LOGGER.info("Start validation of file: {}, with helm version: {}", - replaceBlankCharacters(file.getOriginalFilename()), helmVersion); + fileName, helmVersion); return validateChart(helmVersion, isLinted, isStrictLinted, chartPath); } finally { LOGGER.info("File process finished"); |