Fix client SSH server error log (#1455)

This commit is contained in:
Misha Bragin 2024-01-11 14:36:27 +01:00 committed by GitHub
parent 3591795a58
commit 6a2a97f088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -494,7 +494,7 @@ func (e *Engine) updateConfig(conf *mgmProto.PeerConfig) error {
if conf.GetSshConfig() != nil {
err := e.updateSSH(conf.GetSshConfig())
if err != nil {
log.Warnf("failed handling SSH server setup %v", e)
log.Warnf("failed handling SSH server setup %v", err)
}
}