Skip to content

Commit

Permalink
Be more specific in the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jan 14, 2025
1 parent c0a143f commit ea8deb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions image-sync/image_sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit ea8deb0

Please sign in to comment.