aboutsummaryrefslogtreecommitdiff
path: root/ssh_client.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-16 22:59:22 +0700
committerShulhan <ms@kilabit.info>2023-11-16 22:59:22 +0700
commit4c17c972104e2dc50dbee4138c992f620e7f10bd (patch)
tree49b73e28694857fb490dccda035214f11f5047f0 /ssh_client.go
parentf2b71ae4bf9d264d5c6ea51edc2d402e462e2033 (diff)
downloadawwan-4c17c972104e2dc50dbee4138c992f620e7f10bd.tar.xz
all: refactoring, rename Request to ExecRequest
Diffstat (limited to 'ssh_client.go')
-rw-r--r--ssh_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_client.go b/ssh_client.go
index 1d20ae8..519a19c 100644
--- a/ssh_client.go
+++ b/ssh_client.go
@@ -34,7 +34,7 @@ type sshClient struct {
//
// Once connection established, the client create new temporary directory on
// server at dirTmp for sudoGet or sudoPut operations.
-func newSshClient(req *Request, section *config.Section, dirTmp string) (sshc *sshClient, err error) {
+func newSshClient(req *ExecRequest, section *config.Section, dirTmp string) (sshc *sshClient, err error) {
var logp = `newSshClient`
req.mlog.Outf(`--- SSH connection: %s@%s:%s`,