diff --git a/metadata-ingestion/src/datahub/ingestion/source/azure/abs_util.py b/metadata-ingestion/src/datahub/ingestion/source/azure/abs_util.py index 4aab08d4f497bd..09e1c86ffb1518 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/azure/abs_util.py +++ b/metadata-ingestion/src/datahub/ingestion/source/azure/abs_util.py @@ -256,7 +256,7 @@ def list_folders( this_dict = {} for blob in blob_list: - blob_name = blob.name[: blob.name.rfind("/") + 1] + blob_name = blob.name[:blob.name.rfind("/") + 1] folder_structure_arr = blob_name.split("/") folder_name = ""