From 9a86d82460d40c8d4a4073a8fd0dc2821601cd8b Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 17 Nov 2024 18:16:35 +0100 Subject: [PATCH] ssh cmd debug --- ssh.go | 2 +- version.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ssh.go b/ssh.go index 56a192b..483f505 100644 --- a/ssh.go +++ b/ssh.go @@ -161,7 +161,7 @@ func (s *Ssh) ExecPipe(cmd string) error { } if err = s.session.Start(cmd); err != nil { - log.WithFields(log.Fields{"name": s.name, "cmd": cmd, "call": "session.Start", "error": err}).Errorf("") + log.WithFields(log.Fields{"name": s.name, "cmd": cmd, "call": "session.Start", "attr": cmd, "error": err}).Errorf("") s.session.Close() return err } diff --git a/version.go b/version.go index 08a959d..eb2a819 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "d217ba3" +var githash = "ad1a8de" var branch = "master" -var buildstamp = "2024-11-17_17:15:40" -var commits = "98" -var version = "d217ba3-b98 - 2024-11-17_17:15:40" +var buildstamp = "2024-11-17_17:16:23" +var commits = "99" +var version = "ad1a8de-b99 - 2024-11-17_17:16:23"