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 #241 from vania-pooh/master
Browse files Browse the repository at this point in the history
Small fixes in external-host image code
  • Loading branch information
vania-pooh authored Apr 19, 2020
2 parents 8d2e6f2 + 70c5a2f commit 147765c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selenium/external-host/choose/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func init() {
func main() {
var hosts []string
if err := json.Unmarshal([]byte(os.Getenv("URLS")), &hosts); err != nil {
fmt.Printf("unmarshall json: %v", err)
fmt.Printf("unmarshal json: %v", err)
os.Exit(1)
}
if l := len(hosts); l > 0 {
Expand Down
2 changes: 1 addition & 1 deletion selenium/external-host/rproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
func main() {
u, err := url.Parse(os.Args[1])
if err != nil {
log.Fatal("parse url: %v", err)
log.Fatalf("parse url: %v", err)
}
log.Fatal(http.ListenAndServe(":4444", httputil.NewSingleHostReverseProxy(u)))
}

0 comments on commit 147765c

Please sign in to comment.