mirror of https://github.com/docker/docs.git
Remove dead code
This method is no longer called since
the docker installation has moved out
of the driver (54f3607
).
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
This commit is contained in:
parent
d65f66a75d
commit
5fa93a0888
|
@ -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