Close the right pipe output in runPinnipedLoginOIDC.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
aca9af748b
commit
5ad3c65ae1
@ -254,7 +254,7 @@ func runPinnipedLoginOIDC(
|
|||||||
credOutputChan := make(chan clientauthenticationv1beta1.ExecCredential)
|
credOutputChan := make(chan clientauthenticationv1beta1.ExecCredential)
|
||||||
spawnTestGoroutine(t, func() (err error) {
|
spawnTestGoroutine(t, func() (err error) {
|
||||||
defer func() {
|
defer func() {
|
||||||
closeErr := stderr.Close()
|
closeErr := stdout.Close()
|
||||||
if closeErr == nil || errors.Is(closeErr, os.ErrClosed) {
|
if closeErr == nil || errors.Is(closeErr, os.ErrClosed) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user