Skip to content

Commit 83f2337

Browse files
fixing issue with wallet collection when using proxy data sources (#1414)
1 parent 8830faa commit 83f2337

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/python/wlsdeploy/tool/discover/common_resources_discoverer.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ def get_datasources(self):
122122
return model_top_folder_name, result
123123

124124
def _collect_jdbc_driver_wallet(self, datasource, collected_wallet, driver_params):
125-
if not self._model_context.skip_archive() and model_constants.JDBC_DRIVER_PARAMS_PROPERTIES in driver_params:
125+
if not self._model_context.skip_archive() and \
126+
(isinstance(driver_params, dict) or isinstance(driver_params, OrderedDict)) and \
127+
model_constants.JDBC_DRIVER_PARAMS_PROPERTIES in driver_params:
126128
properties = driver_params[model_constants.JDBC_DRIVER_PARAMS_PROPERTIES]
127129
self._update_wallet_property_and_collect_files(collected_wallet, datasource, properties)
128130

0 commit comments

Comments
 (0)