fix copy and paste error
This commit is contained in:
parent
8bcdc99664
commit
9ce4792cdb
@ -275,7 +275,6 @@ class CapsulFlaskHub(VirtualizationInterface):
|
|||||||
raise ValueError(f"""failed to {command} vm "{id}" on host "{host.id}" for {email}: {result_json_string}""")
|
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):
|
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
|
result_status = None
|
||||||
host = get_model().host_by_id(host_id)
|
host = get_model().host_by_id(host_id)
|
||||||
if host is not None:
|
if host is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user