From ad1a8decc39bddb2287e432a2c4fa763fc0afb1f Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 17 Nov 2024 18:15:50 +0100 Subject: [PATCH] ssh setenv fail --- ssh.go | 2 +- version.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ssh.go b/ssh.go index 43de418..56a192b 100644 --- a/ssh.go +++ b/ssh.go @@ -138,7 +138,7 @@ func (s *Ssh) ExecPipe(cmd string) error { s.session = session if err = s.session.Setenv("TZ", cfg.Timezone); err != nil { - log.WithFields(log.Fields{"name": s.name, "cmd": cmd, "call": "session.Setenv", "error": err}).Errorf("") + log.WithFields(log.Fields{"name": s.name, "cmd": cmd, "call": "session.Setenv", "attr": cfg.Timezone, "error": err}).Errorf("") return err } diff --git a/version.go b/version.go index d875216..08a959d 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "4941772" +var githash = "d217ba3" var branch = "master" -var buildstamp = "2024-11-17_16:27:41" -var commits = "97" -var version = "4941772-b97 - 2024-11-17_16:27:41" +var buildstamp = "2024-11-17_17:15:40" +var commits = "98" +var version = "d217ba3-b98 - 2024-11-17_17:15:40"