Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #164 from vania-pooh/master
Browse files Browse the repository at this point in the history
Fixed logging when fetching Android images
  • Loading branch information
vania-pooh authored May 31, 2018
2 parents 8544c2d + b82f156 commit ac04729
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions selenoid/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ func (c *DockerConfigurator) getBrowsersToIterate(requestedBrowsers map[string]*
"opera": "selenoid/opera",
}
if len(requestedBrowsers) > 0 {
if _, ok := requestedBrowsers[android]; ok {
defaultBrowsers[android] = "selenoid/android"
}
ret := make(map[string]string)
for browserName := range requestedBrowsers {
if image, ok := defaultBrowsers[browserName]; ok {
Expand All @@ -389,9 +392,6 @@ func (c *DockerConfigurator) getBrowsersToIterate(requestedBrowsers map[string]*
c.Errorf("Unsupported browser: %s", browserName)
}

if _, ok := requestedBrowsers[android]; ok {
ret["android"] = "selenoid/android"
}
return ret
}
return defaultBrowsers
Expand Down

0 comments on commit ac04729

Please sign in to comment.