Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
This else isn't required
Browse files Browse the repository at this point in the history
  • Loading branch information
romank87 committed Feb 12, 2016
1 parent ccbf5c8 commit e921983
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/compose/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -745,9 +745,8 @@ func (client *DockerClient) resolveVersions(local, hub bool, vars template.Vars,
if candidate == nil {
err = fmt.Errorf("Image not found: %s", container.Image)
return
} else {
candidate.IsOldS3Name = container.Image.IsOldS3Name
}
candidate.IsOldS3Name = container.Image.IsOldS3Name

log.Infof("Resolve %s --> %s", container.Image, candidate.GetTag())

Expand Down

0 comments on commit e921983

Please sign in to comment.