Skip to content

Commit 136831b

Browse files
authored
Fix problem reading credential mapping template after refactoring (#769)
1 parent c8e60d2 commit 136831b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/wlsdeploy/tool/util/targets/file_template_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def create_file_from_resource(resource_path, template_hash, output_file, excepti
3535
"""
3636
_method_name = 'create_file_from_resource'
3737

38-
template_stream = FileUtils.getFileAsStream(resource_path)
38+
template_stream = FileUtils.getResourceAsStream(resource_path)
3939
if template_stream is None:
4040
ex = exception_helper.create_exception(exception_type, 'WLSDPLY-01661', resource_path)
4141
__logger.throwing(ex, class_name=__class_name, method_name=_method_name)

0 commit comments

Comments
 (0)