optimization

This commit is contained in:
Wyatt J. Miller 2019-08-16 23:21:26 -04:00
parent 1755cb0f8c
commit 37ca23c542

4
ssh.go
View File

@ -30,8 +30,8 @@ type SSHPush []*ssh.Client
type SSHSuccess []error type SSHSuccess []error
func initializeConnection(config Configuration) (SSHConnection, *ssh.ClientConfig) { func initializeConnection(config Configuration) (*SSHConnection, *ssh.ClientConfig) {
sshConn := SSHConnection{ sshConn := &SSHConnection{
Username: config.Username, Username: config.Username,
Password: config.Password, Password: config.Password,
Port: config.Port, Port: config.Port,