Merge "remove unused update_dhcp_hostfile_with_text method"

This commit is contained in:
Jenkins 2016-01-06 06:24:28 +00:00 committed by Gerrit Code Review
commit 3738b538d1

View File

@ -1067,11 +1067,6 @@ def update_dns(context, dev, network_ref):
restart_dhcp(context, dev, network_ref, fixedips)
def update_dhcp_hostfile_with_text(dev, hosts_text):
conffile = _dhcp_file(dev, 'conf')
write_to_file(conffile, hosts_text)
def kill_dhcp(dev):
pid = _dnsmasq_pid_for(dev)
if pid: