We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11b896 commit c71d872Copy full SHA for c71d872
modules/ssh/ssh.go
@@ -74,6 +74,11 @@ func getExitStatusFromError(err error) int {
74
return waitStatus.ExitStatus()
75
}
76
77
+// sessionPartial is the private struct from "gliderlabs/ssh/session.go"
78
+// we need to read the original "conn" field from "ssh.Session interface" which contains the "*session pointer"
79
+// https://github.com/gliderlabs/ssh/blob/d137aad99cd6f2d9495bfd98c755bec4e5dffb8c/session.go#L109-L113
80
+// If upstream fixes the problem and/or changes the struct, we need to follow.
81
+// If the struct mismatches, the builtin ssh server will fail during integration tests.
82
type sessionPartial struct {
83
sync.Mutex
84
gossh.Channel
0 commit comments