mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
cloudprovider/openstack: fix bug the tries to use octavia client to query flip
This commit is contained in:
parent
a18f086220
commit
f8c8ec612b
1 changed files with 1 additions and 1 deletions
|
|
@ -922,7 +922,7 @@ func (lbaas *LbaasV2) EnsureLoadBalancer(clusterName string, apiService *v1.Serv
|
|||
}
|
||||
|
||||
portID := loadbalancer.VipPortID
|
||||
floatIP, err := getFloatingIPByPortID(lbaas.lb, portID)
|
||||
floatIP, err := getFloatingIPByPortID(lbaas.network, portID)
|
||||
if err != nil && err != ErrNotFound {
|
||||
return nil, fmt.Errorf("error getting floating ip for port %s: %v", portID, err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue