There was an error while loading. Please reload this page.
1 parent 837229a commit 68d4b59Copy full SHA for 68d4b59
ads/common/dsc_file_system.py
@@ -68,7 +68,7 @@ def get_destination_path_and_name(dest: str) -> (str, str):
68
A tuple of destination path and destination directory name.
69
"""
70
return (
71
- os.path.dirname(dest.rstrip("/")),
+ os.path.dirname(dest.rstrip("/")) or None, # when destination path is omitted, oci api requires it to be None
72
os.path.basename(dest.rstrip("/"))
73
)
74
0 commit comments