Skip to content

Commit 20a9351

Browse files
authored
Merge pull request #57 from synkd/return_future-dated_subs_when_fetching_pools
Return future-dated subscriptions from stage RHSM accounts when fetching available subscription pools.
2 parents 9987599 + 4ee846e commit 20a9351

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manifester/helpers.py

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def fetch_paginated_data(manifester, endpoint):
7171
MAX_RESULTS_PER_PAGE = 100
7272
elif endpoint == "pools":
7373
_endpoint_url = f"{manifester.allocations_url}/{manifester.allocation_uuid}/pools"
74+
if "stage" in manifester.allocations_url:
75+
_endpoint_url = _endpoint_url + "?future=true"
7476
_endpoint_data = manifester._subscription_pools
7577
MAX_RESULTS_PER_PAGE = 50
7678
else:

0 commit comments

Comments
 (0)