2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-28 03:17:47 +00:00

Merge branch 'master' into async

This commit is contained in:
Jarrod Johnson
2024-08-28 19:20:21 -04:00

View File

@@ -486,6 +486,11 @@ async def check_fish(urldata, port=443, verifycallback=None):
except ValueError:
url, data = urldata
targtype = 'service:redfish-bmc'
try:
url, data, targtype = urldata
except ValueError:
url, data = urldata
targtype = 'service:redfish-bmc'
try:
wc = webclient.WebConnection(_get_svrip(data), port, verifycallback=verifycallback)
peerinfo = await wc.grab_json_response(url, headers={'Accept': 'application/json'})