Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit d56d1f9

Browse files
committed
cloudprovider/openstack: fix bug the tries to use octavia client to query flip
1 parent a5b50ab commit d56d1f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cloudprovider/providers/openstack/openstack_loadbalancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ func (lbaas *LbaasV2) EnsureLoadBalancer(clusterName string, apiService *v1.Serv
922922
}
923923

924924
portID := loadbalancer.VipPortID
925-
floatIP, err := getFloatingIPByPortID(lbaas.lb, portID)
925+
floatIP, err := getFloatingIPByPortID(lbaas.network, portID)
926926
if err != nil && err != ErrNotFound {
927927
return nil, fmt.Errorf("error getting floating ip for port %s: %v", portID, err)
928928
}

0 commit comments

Comments
 (0)