• Angus Lees's avatar
    provider: Pass full node objects to *LoadBalancer · 83e7a85e
    Angus Lees authored
    Many providers need to do some sort of node name -> IP or instanceID
    lookup before they can use the list of hostnames passed to
    EnsureLoadBalancer/UpdateLoadBalancer.
    
    This change just passes the full Node object instead of simply the node
    name, allowing providers to use the node's provider ID and cached
    addresses without additional lookups.  Using `node.Name` reproduces the
    old behaviour.
    83e7a85e
cloud.go 7.8 KB