Comment 3 for bug 2068556

Revision history for this message
Joseph Phillips (manadart) wrote :

See apiserver/facades/controller/crosscontroller/crosscontroller.go

We register with this func:

func() ([]string, string, error) {
    return common.StateControllerInfo(st)
}

In that method we call the common apiAddresses function, which in turn uses APIHostPortsForAgents.

We should contrive a function that calls APIHostPortsForClients since we specifically know that this is a cross-controller API.