ssh setenv fail

This commit is contained in:
shoopea 2024-11-17 18:15:50 +01:00
parent d217ba310e
commit ad1a8decc3
2 changed files with 5 additions and 5 deletions

2
ssh.go
View File

@ -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
}

View File

@ -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"