Skip to content

Commit

Permalink
Fix year range in Ingress flow (#4847)
Browse files Browse the repository at this point in the history
  • Loading branch information
esebesto authored Jan 2, 2024
1 parent 31eee19 commit 483c24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koku/api/ingress/reports/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def validate(self, data):
]
year_message = year_range[0]
if dh.bill_year_from_date(dh.this_month_start) not in year_range:
year_range.append(dh.bill_year_from_date(dh.last_month_start))
year_range.append(dh.bill_year_from_date(dh.this_month_start))
year_message = f"{year_range[0]} or {year_range[1]}"
if bill_month in month_range and bill_year in year_range:
interface = ProviderAccessor(source.type)
Expand Down

0 comments on commit 483c24f

Please sign in to comment.