mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-07-25 08:02:58 +00:00
apcssh: minor log and logic clarity
This commit is contained in:
parent
f1dd079632
commit
841a459dca
4 changed files with 7 additions and 11 deletions
pkg/apcssh
|
@ -19,7 +19,7 @@ func (cli *Client) UploadSCP(destination string, fileContent []byte, filePermiss
|
|||
// connect
|
||||
sshClient, err := ssh.Dial("tcp", cli.hostname, cli.sshCfg)
|
||||
if err != nil {
|
||||
return fmt.Errorf("apcssh: scp: failed to dial session (%w)", err)
|
||||
return fmt.Errorf("apcssh: scp: failed to dial client (%w)", err)
|
||||
}
|
||||
defer sshClient.Close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue