Skip to content

Commit

Permalink
Merge pull request #2744 from aep/master
Browse files Browse the repository at this point in the history
Do not fail when no docker registry auth is available
  • Loading branch information
schmichael authored Jul 6, 2017
2 parents b943468 + 1699761 commit c5e9c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/driver/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ func (d *DockerDriver) createImage(driverConfig *DockerDriverConfig, client *doc
func (d *DockerDriver) pullImage(driverConfig *DockerDriverConfig, client *docker.Client, repo, tag string) (id string, err error) {
authOptions, err := d.resolveRegistryAuthentication(driverConfig, repo)
if err != nil {
return "", fmt.Errorf("Failed to find docker auth for repo %q: %v", repo, err)
d.logger.Printf("[WARN] Failed to find docker auth for repo %q: %v", repo, err)
}

if authIsEmpty(authOptions) {
Expand Down

0 comments on commit c5e9c4b

Please sign in to comment.