Use rackspace's specialized client
`openstack.NewDerivedDriver` sets client to `openstack.GenericClient` therefore `rackspace.Client` is getting ignored. `rackspace.Client.Authenticate` has different semantics than `openstack.GenericClient.Authenticate`, thus almost all operations with `rackspace` driver fail at the moment. Signed-off-by: Amir Mohammad Saied <amirsaied@gmail.com>
This commit is contained in:
parent
b50d6187d5
commit
ace17ece2f
|
@ -218,6 +218,10 @@ func (d *Driver) GetSSHHostname() (string, error) {
|
||||||
return d.GetIP()
|
return d.GetIP()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (d *Driver) SetClient(client Client) {
|
||||||
|
d.client = client
|
||||||
|
}
|
||||||
|
|
||||||
func (d *Driver) DriverName() string {
|
func (d *Driver) DriverName() string {
|
||||||
return "openstack"
|
return "openstack"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue