]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix cut and paste error in api_unplug_iface
authorBrad Hall <brad@nicira.com>
Fri, 24 Jun 2011 18:20:03 +0000 (11:20 -0700)
committerBrad Hall <brad@nicira.com>
Fri, 24 Jun 2011 18:20:03 +0000 (11:20 -0700)
This fixes lp issue: https://bugs.launchpad.net/quantum/+bug/801598

quantum/cli.py

index 8663d548b1966454c3a1c83baa6013bcddac035e..6c653097d035a6d6f6132b977054b33d63d95b3a 100644 (file)
@@ -318,8 +318,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)