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
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user