Skip to content

Commit 1e07c9a

Browse files
authored
Merge pull request #378 from fasrc/ajk_not_error
Skip allocations that are not storage, but don't report as errors because it borks rebalancing
2 parents 230950b + 8845e55 commit 1e07c9a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

coldfront/plugins/ifx/calculator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ def generate_billing_records_for_organization(self, year, month, organization, u
166166
if self.verbosity == self.LOUD:
167167
logger.exception(e)
168168
else:
169-
errors.append(f'Allocation {allocation} is not a storage allocation. Skipping.')
169+
logger.info(f'Allocation {allocation} is not a storage allocation. Skipping.')
170170
else:
171-
errors.append(f'Allocation {allocation} has more than one resource.')
171+
logger.info(f'Allocation {allocation} has more than one resource.')
172172
else:
173173
errors.append(f'Organization {organization.slug} is not a Harvard organization.')
174174
return (successes, errors)

ifxbilling

0 commit comments

Comments
 (0)