Verified Commit eaed4418 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix proxyType key check

parent 55073bcd
Pipeline #35042 passed with stages
in 1 minute and 36 seconds
......@@ -137,7 +137,7 @@ def _extract_dig_obj_vals(msg, access_status) -> dict:
# route goes over the internal image server
return_values['proto'] = 'redirect'
else:
if msg['proxyType']:
if msg.get('proxyType'):
return_values['proto'] = msg['proxyType']
else:
return_values['proto'] = 'proxydirect'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment