optimization
This commit is contained in:
parent
1755cb0f8c
commit
37ca23c542
4
ssh.go
4
ssh.go
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user