Skip to content

Commit ffcc221

Browse files
[ENHANCEMENT] Fixed patch api to use v3, instead of v1
1 parent a0df93a commit ffcc221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

execution/execution.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ def patch_systems():
822822
This def will collect all the entries from patch systems
823823
"""
824824

825-
url = "https://console.redhat.com/api/patch/v1/systems"
825+
url = "https://console.redhat.com/api/patch/v3/systems"
826826
response = connection_request(url)
827827
check_authentication(response)
828828

@@ -842,7 +842,7 @@ def patch_systems():
842842
count = 0
843843
for page in range(0, num_of_pages):
844844
url = (
845-
"https://console.redhat.com/api/patch/v1/systems?limit="
845+
"https://console.redhat.com/api/patch/v3/systems?limit="
846846
+ str(conf.ITEMS_PER_PAGE)
847847
+ "&offset="
848848
+ str(count)

0 commit comments

Comments
 (0)