Skip to content

Commit 2e1cac6

Browse files
committed
Rename prefix argument to resource
1 parent bbbf54b commit 2e1cac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coldfront_plugin_cloud/management/commands/fetch_daily_billable_usage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,10 @@ def load_service_invoice(self, resource: str, date_str: str) -> DataFrameGroupBy
212212
return self.load_csv(download_location)
213213

214214
def get_allocation_usage(
215-
self, prefix: str, date_str: str, allocation_id
215+
self, resource: str, date_str: str, allocation_id
216216
) -> UsageInfo:
217217
"""Loads the service invoice and parse UsageInfo for a specific allocation."""
218-
invoice = self.load_service_invoice(prefix, date_str)
218+
invoice = self.load_service_invoice(resource, date_str)
219219

220220
try:
221221
df = invoice.get_group(allocation_id)[

0 commit comments

Comments
 (0)