This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This avoids calling `os.Newfile` since it seems to break the file referenced by it. This workaround expects the `io.Writer` to be also a `*os.File`. The default case is true since it uses an `os.Stdout` to construct the `dockerCli`. If any of this works, it prints a warning and returns `os.Stdout`. Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
- Loading branch information
1 parent
e3a9aed
commit 9de59d4
Showing
1 changed file
with
27 additions
and
6 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