diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-10 03:23:02 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-14 20:23:47 +0700 |
| commit | f1bcd6e27e9cbf541b9f6d76944bb491aede370a (patch) | |
| tree | 7349319155d7f8321afc9df08c3ed4ef71bbfcea /session.go | |
| parent | 87b79dbd1da7acc73456b3fbfe59a40b59bf116f (diff) | |
| download | awwan-f1bcd6e27e9cbf541b9f6d76944bb491aede370a.tar.xz | |
all: changes based on reports from linter revive
Better to fix and follow the reported warnings rather than adding
configuration file to add an exception.
Diffstat (limited to 'session.go')
| -rw-r--r-- | session.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -615,7 +615,7 @@ func (ses *Session) initSSHClient(req *ExecRequest, sshSection *config.Section) lastIdentFile = sshSection.IdentityFile[len(sshSection.IdentityFile)-1] } - ses.sshc, err = newSshClient(req, sshSection, ses.dirTmp) + ses.sshc, err = newSSHClient(req, sshSection, ses.dirTmp) if err != nil { return fmt.Errorf(`%s: %w`, logp, err) } |
