mirror of
https://github.com/clearml/clearml
synced 2025-04-22 07:15:57 +00:00
Fix StorageHelper.delete() does not respect path substitutions (#838)
Fixes allegroai/clearml#825 Make StorageHelper.get_object() call StorageHelper._canonized_url() to make path substitutions work.
This commit is contained in:
parent
59b5dd6394
commit
e709e46d91
@ -1193,6 +1193,7 @@ class StorageHelper(object):
|
|||||||
|
|
||||||
:return: The remote object
|
:return: The remote object
|
||||||
"""
|
"""
|
||||||
|
path = self._canonize_url(path)
|
||||||
object_name = self._normalize_object_name(path)
|
object_name = self._normalize_object_name(path)
|
||||||
try:
|
try:
|
||||||
return self._driver.get_object(
|
return self._driver.get_object(
|
||||||
|
Loading…
Reference in New Issue
Block a user