diff --git a/image-sync/image_sync/sync.py b/image-sync/image_sync/sync.py index a251cdf..376fc1d 100644 --- a/image-sync/image_sync/sync.py +++ b/image-sync/image_sync/sync.py @@ -96,10 +96,12 @@ def fetch_site_info_cloud_info(): full_site = r.json() for assoc in full_site["CloudComputingService"][0]["Associations"]: # NOTE: this should change in the cloud-info-provider + # See https://github.com/EGI-Federation/cloud-info-provider/pull/275 if "AdminDomain" in assoc: site = assoc["AdminDomain"][0] shares = [] # NOTE: This should change in the cloud info provider + # See https://github.com/EGI-Federation/cloud-info-provider/pull/275 for share in full_site["Share"][0]: shares.append( {"projectID": share["ProjectID"], "VO": get_share_vo(share, full_site)}