From f25a7ace865ff609c35e3ac67fc816c96140e763 Mon Sep 17 00:00:00 2001 From: Guillaume Giamarchi Date: Fri, 27 Feb 2015 23:13:01 +0100 Subject: [PATCH] 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 --- drivers/openstack/openstack.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/openstack/openstack.go b/drivers/openstack/openstack.go index 6dbbdd0..ca629df 100644 --- a/drivers/openstack/openstack.go +++ b/drivers/openstack/openstack.go @@ -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") }