This commit is contained in:
Dan Wendlandt 2011-06-27 09:30:08 -07:00
commit cf660ee8f0
1 changed files with 1 additions and 2 deletions

View File

@ -319,8 +319,7 @@ def api_unplug_iface(client, *args):
output = res.read()
LOG.debug(output)
if res.status != 202:
LOG.error("Failed to unplug iface from port \"%s\": %s" % (vid,
pid, output))
LOG.error("Failed to unplug iface from port \"%s\": %s" % (pid, output))
return
print "Unplugged interface from port:%s on network:%s" % (pid, nid)