File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/renku_data_services/data_connectors Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ async def validate_unsaved_global_data_connector(
182182
183183 # Check that we can list the files in the DOI
184184 connection_result = await validator .test_connection (
185- configuration = data_connector .storage .configuration , source_path = "/"
185+ configuration = data_connector .storage .configuration , source_path = data_connector . storage . source_path or "/"
186186 )
187187 if not connection_result .success :
188188 raise errors .ValidationError (
@@ -231,7 +231,7 @@ async def validate_unsaved_global_data_connector(
231231 storage = models .CloudStorageCore (
232232 storage_type = data_connector .storage .storage_type ,
233233 configuration = data_connector .storage .configuration ,
234- source_path = "/" ,
234+ source_path = data_connector . storage . source_path ,
235235 target_path = target_path ,
236236 readonly = data_connector .storage .readonly ,
237237 )
You can’t perform that action at this time.
0 commit comments