From 37ca23c5424a26c123caa7df84120720e05f7307 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Fri, 16 Aug 2019 23:21:26 -0400 Subject: [PATCH] optimization --- ssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh.go b/ssh.go index e00d865..1f0145c 100644 --- a/ssh.go +++ b/ssh.go @@ -30,8 +30,8 @@ type SSHPush []*ssh.Client type SSHSuccess []error -func initializeConnection(config Configuration) (SSHConnection, *ssh.ClientConfig) { - sshConn := SSHConnection{ +func initializeConnection(config Configuration) (*SSHConnection, *ssh.ClientConfig) { + sshConn := &SSHConnection{ Username: config.Username, Password: config.Password, Port: config.Port,