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
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,