missing 1 required positional argument: 'host_id'
This commit is contained in:
parent
aed35c43eb
commit
96786acb13
@ -246,7 +246,7 @@ def handle_net_set_dhcp(operation_id, request_body):
|
||||
request_body['add_ipv4'] = None
|
||||
|
||||
try:
|
||||
current_app.config['SPOKE_MODEL'].net_set_dhcp(email=request_body['email'], network_name=request_body['network_name'], macs=request_body['macs'], remove_ipv4=request_body['remove_ipv4'], add_ipv4=request_body['add_ipv4'])
|
||||
current_app.config['SPOKE_MODEL'].net_set_dhcp(email=request_body['email'], host_id=None, network_name=request_body['network_name'], macs=request_body['macs'], remove_ipv4=request_body['remove_ipv4'], add_ipv4=request_body['add_ipv4'])
|
||||
except:
|
||||
error_message = my_exec_info_message(sys.exc_info())
|
||||
params= f"email='{request_body['email'] if 'email' in request_body else 'KeyError'}', "
|
||||
|
Loading…
Reference in New Issue
Block a user