We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6968ad commit b0a1ef0Copy full SHA for b0a1ef0
pkg/controllers/routing/utils.go
@@ -155,8 +155,7 @@ func getPodCIDRsFromAllNodeSources(node *v1core.Node) (podCIDRs []string) {
155
// based upon whether it is an IPv4 address or an IPv6 address. Returns slash notation subnet as uint32 suitable for
156
// sending to GoBGP and an error if it is unable to determine the subnet automatically
157
func (nrc *NetworkRoutingController) getBGPRouteInfoForVIP(vip string) (subnet uint32, nh string,
158
- afiFamily gobgpapi.Family_Afi, err error,
159
-) {
+ afiFamily gobgpapi.Family_Afi, err error) {
160
ip := net.ParseIP(vip)
161
if ip == nil {
162
err = fmt.Errorf("could not parse VIP: %s", vip)
0 commit comments