Change in vdsm[master]: hooks: ovs: use package, not variable

phoracek at redhat.com phoracek at redhat.com
Mon Dec 7 10:55:52 UTC 2015


Petr Horáček has uploaded a new change for review.

Change subject: hooks: ovs: use package, not variable
......................................................................

hooks: ovs: use package, not variable

In cc07896088da21e06875d5f5179984ae9be8cbab package was replaced
by function parameter by mistake.

Change-Id: I125a831376150ed132899c2b82f6ad3760443f51
Signed-off-by: Petr Horáček <phoracek at redhat.com>
---
M vdsm_hooks/ovs/ovs_after_get_caps.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/70/49970/1

diff --git a/vdsm_hooks/ovs/ovs_after_get_caps.py b/vdsm_hooks/ovs/ovs_after_get_caps.py
index fbef536..2f31010 100755
--- a/vdsm_hooks/ovs/ovs_after_get_caps.py
+++ b/vdsm_hooks/ovs/ovs_after_get_caps.py
@@ -57,8 +57,8 @@
     addr, netmask, ipv4addrs, ipv6addrs = addresses.getIpInfo(interface)
     dhcpv4 = dhcp.dhcp_used(interface, dhcpv4ifaces, attrs)
     dhcpv6 = dhcp.dhcp_used(interface, dhcpv6ifaces, attrs, family=6)
-    gateway = routes.get_gateway(routes, interface)
-    ipv6gateway = routes.get_gateway(routes, interface, family=6)
+    gateway = netinfo_routes.get_gateway(routes, interface)
+    ipv6gateway = netinfo_routes.get_gateway(routes, interface, family=6)
     return {
         'mtu': str(mtu),
         'addr': addr,


-- 
To view, visit https://gerrit.ovirt.org/49970
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I125a831376150ed132899c2b82f6ad3760443f51
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phoracek at redhat.com>


More information about the vdsm-patches mailing list