Skip to content

Commit 3fe6a8c

Browse files
committed
test for jenkins job
1 parent 83f2610 commit 3fe6a8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

operator/src/main/java/oracle/kubernetes/operator/helpers/ConfigMapHelper.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,13 @@ private synchronized Map<String, String> loadScripts() {
175175
}
176176
} catch (IOException e) {
177177
LOGGER.warning(MessageKeys.EXCEPTION, e);
178-
throw new RuntimeException(e);
178+
e.printStackTrace(); // xyz-
179+
LOGGER.warning(MessageKeys.EXCEPTION, new IOException("xyz- uri is " + uri));
180+
try (FileSystem fileSystem = FileSystems.getFileSystem(uri)) {
181+
return walkScriptsPath(fileSystem.getPath(SCRIPTS));
182+
} catch(IOException ioe) {
183+
throw new RuntimeException(e);
184+
}
179185
}
180186
}
181187

0 commit comments

Comments
 (0)