Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore docker config if it's a directory (#1420)
In a kubernetes environment, a volume from a Secret can be optionally mounted. If the Secret does not exist, the mounted path is always a directory. This change modifies auth.DefaultKeychain to ignore the case where the docker config file is unexpectedly a directory. Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
8 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