chore: add uuid's to ssh sessions for logging (#10721)

* chore: add uuid to ssh connection logs
This commit is contained in:
Steven Masley
2023-11-17 10:04:23 -06:00
committed by GitHub
parent befb42b6fd
commit e448c10122
2 changed files with 29 additions and 21 deletions

View File

@ -63,7 +63,7 @@ func Test_sessionStart_orphan(t *testing.T) {
// we don't really care what the error is here. In the larger scenario,
// the client has disconnected, so we can't return any error information
// to them.
_ = s.startPTYSession(sess, "ssh", cmd, ptyInfo, windowSize)
_ = s.startPTYSession(logger, sess, "ssh", cmd, ptyInfo, windowSize)
}()
readDone := make(chan struct{})