mirror of https://github.com/docker/docs.git
Merge pull request #667 from ggiamarchi/openstack-dead-code
Openstack driver - Remove dead code
This commit is contained in:
commit
2f853ee671
|
|
@ -746,19 +746,6 @@ func (d *Driver) waitForInstanceToStart() error {
|
|||
return d.waitForSSHServer()
|
||||
}
|
||||
|
||||
func (d *Driver) sshExec(commands []string) error {
|
||||
for _, command := range commands {
|
||||
sshCmd, err := d.GetSSHCommand(command)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := sshCmd.Run(); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (d *Driver) sshKeyPath() string {
|
||||
return path.Join(d.storePath, "id_rsa")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue