Skip to content

Commit

Permalink
Disable Grouper adds for ugrad quota #69
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Oct 2, 2020
1 parent 3b1b713 commit 32fbc44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/script_run
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ if __name__ == '__main__':
quota_class = ast.literal_eval(config['global']['quota_class'])

for q, c in zip(quota_list, quota_class):
if 'ugrad' in c:
log.info(f"Quota execution not required for {c} group. Skipping...")
continue

log.info("Working on {} quota : {} bytes".format(c, q))

group_check = ga.check_group_exists(q, 'quota')
Expand Down

0 comments on commit 32fbc44

Please sign in to comment.