diff --git a/discovery/openstack/openstack.go b/discovery/openstack/openstack.go index f6146ee4c..c6c434240 100644 --- a/discovery/openstack/openstack.go +++ b/discovery/openstack/openstack.go @@ -142,7 +142,7 @@ func NewDiscovery(conf *SDConfig, l log.Logger) (Discovery, error) { DomainID: conf.DomainID, } } - client, err := openstack.NewClient(conf.IdentityEndpoint) + client, err := openstack.NewClient(opts.IdentityEndpoint) if err != nil { return nil, err }