Use proper variable name

This commit is contained in:
Joshua Boniface 2020-01-05 00:49:50 -05:00
parent 7311fa561b
commit 4fb0d66f6a
1 changed files with 2 additions and 2 deletions

View File

@ -1157,12 +1157,12 @@ def net_dhcp_add(net, ipaddr, macaddr, hostname):
@click.argument( @click.argument(
'macaddr' 'macaddr'
) )
def net_dhcp_remove(net, reservation): def net_dhcp_remove(net, macaddr):
""" """
Remove a DHCP static reservation for MACADDR from virtual network NET; NET must be a VNI. Remove a DHCP static reservation for MACADDR from virtual network NET; NET must be a VNI.
""" """
retcode, retmsg = pvc_network.net_dhcp_remove(config, net, reservation) retcode, retmsg = pvc_network.net_dhcp_remove(config, net, macaddr)
cleanup(retcode, retmsg) cleanup(retcode, retmsg)
############################################################################### ###############################################################################