Skip to content

Commit eb5298d

Browse files
committed
Migrate to use NESE Storage GB Rate
Closes https://github.com/issues/assigned?issue=CCI-MOC%7Cnerc-rates%7C45. Migrate of our codebases to use the more specific NESE Storage GB Rate rate when referring to storage
1 parent c35be23 commit eb5298d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coldfront_plugin_cloud/management/commands/calculate_storage_gb_hours.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,14 @@ def process_invoice_row(allocation, attrs, su_name, rate):
252252
openstack_storage_rate = options["openstack_gb_rate"]
253253
else:
254254
openstack_storage_rate = get_rates().get_value_at(
255-
"Storage GB Rate", options["invoice_month"], Decimal
255+
"NESE Storage GB Rate", options["invoice_month"], Decimal
256256
)
257257

258258
if options["openshift_gb_rate"]:
259259
openshift_storage_rate = options["openshift_gb_rate"]
260260
else:
261261
openshift_storage_rate = get_rates().get_value_at(
262-
"Storage GB Rate", options["invoice_month"], Decimal
262+
"NESE Storage GB Rate", options["invoice_month"], Decimal
263263
)
264264

265265
logger.info(

0 commit comments

Comments
 (0)