Skip to content

Commit

Permalink
Update mila.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Delaunay authored Aug 18, 2023
1 parent d9606b6 commit b9c73e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sarc/storage/mila.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ def fetch_diskusage_report(cluster: ClusterConfig, retries: int = 3):
if err:
errors.extend(err)

group = parse_beegfs_csv(result)
usage.extend(group.users)
if resulst is not None:
group = parse_beegfs_csv(result)
usage.extend(group.users)

print(f"Error Count: {len(errors)}")
print(f"Failures: {len(failures)}")
Expand Down

0 comments on commit b9c73e2

Please sign in to comment.