fix copy and paste error

This commit is contained in:
forest 2021-12-09 17:37:54 -06:00
parent 8bcdc99664
commit 9ce4792cdb
1 changed files with 0 additions and 1 deletions

View File

@ -275,7 +275,6 @@ class CapsulFlaskHub(VirtualizationInterface):
raise ValueError(f"""failed to {command} vm "{id}" on host "{host.id}" for {email}: {result_json_string}""")
def net_set_dhcp(self, email: str, host_id: str, network_name: str, macs: list, remove_ipv4: str, add_ipv4: str):
validate_capsul_id(id)
result_status = None
host = get_model().host_by_id(host_id)
if host is not None: