-
-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow resource.Exec to correctly wait for process completion (#383)
This bug was due to a bug in the vendored client library where StartExec would return early even if opts.Detatch was true, if stderr and stdout were not provided. This fix always attaches them and falls back to io.Discard if the user does not provide their own readers. See: fsouza/go-dockerclient#838 Fixes #372
- Loading branch information
1 parent
fd10436
commit 49a59c3
Showing
2 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters