@@ -111,12 +111,12 @@ func updateRoutes(network *gophercloud.ServiceClient, router *routers.Router, ne
111
111
}
112
112
113
113
unwinder := func () {
114
- klog .V (4 ).Info ("Reverting routes change to router " , router .ID )
114
+ klog .V (4 ).Infof ("Reverting routes change to router %v " , router .ID )
115
115
_ , err := routers .Update (network , router .ID , routers.UpdateOpts {
116
116
Routes : origRoutes ,
117
117
}).Extract ()
118
118
if err != nil {
119
- klog .Warning ("Unable to reset routes during error unwind: " , err )
119
+ klog .Warningf ("Unable to reset routes during error unwind: %v " , err )
120
120
}
121
121
}
122
122
@@ -134,12 +134,12 @@ func updateAllowedAddressPairs(network *gophercloud.ServiceClient, port *neutron
134
134
}
135
135
136
136
unwinder := func () {
137
- klog .V (4 ).Info ("Reverting allowed-address-pairs change to port " , port .ID )
137
+ klog .V (4 ).Infof ("Reverting allowed-address-pairs change to port %v " , port .ID )
138
138
_ , err := neutronports .Update (network , port .ID , neutronports.UpdateOpts {
139
139
AllowedAddressPairs : & origPairs ,
140
140
}).Extract ()
141
141
if err != nil {
142
- klog .Warning ("Unable to reset allowed-address-pairs during error unwind: " , err )
142
+ klog .Warningf ("Unable to reset allowed-address-pairs during error unwind: %v " , err )
143
143
}
144
144
}
145
145
@@ -200,7 +200,7 @@ func (r *Routes) CreateRoute(ctx context.Context, clusterName string, nameHint s
200
200
found := false
201
201
for _ , item := range port .AllowedAddressPairs {
202
202
if item .IPAddress == route .DestinationCIDR {
203
- klog .V (4 ).Info ("Found existing allowed-address-pair: " , item )
203
+ klog .V (4 ).Infof ("Found existing allowed-address-pair: %v " , item )
204
204
found = true
205
205
break
206
206
}
0 commit comments