Skip to content

Commit

Permalink
fix(proxmox.py): validate_certs in session.get args
Browse files Browse the repository at this point in the history
  • Loading branch information
tpierre committed Nov 24, 2024
1 parent 152339a commit 8cb1fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- proxmox inventory plugin - fix connection without certificates
2 changes: 1 addition & 1 deletion plugins/inventory/proxmox.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def _get_json(self, url, ignore_errors=None):
data = []
s = self._get_session()
while True:
ret = s.get(url, headers=self.headers)
ret = s.get(url, headers=self.headers, verify=s.verify)
if ignore_errors and ret.status_code in ignore_errors:
break
ret.raise_for_status()
Expand Down

0 comments on commit 8cb1fb8

Please sign in to comment.