Skip to content

Commit

Permalink
Merge branch '10-http-proxy-env-var'
Browse files Browse the repository at this point in the history
Closes #10
  • Loading branch information
nesv committed Sep 27, 2016
2 parents 109e76c + 4edd2f0 commit be20024
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dynect/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ const (
)

var (
PollingInterval = 1 * time.Second
)

var (
PollingInterval = 1 * time.Second
ErrPromotedToJob = errors.New("promoted to job")
)

Expand Down Expand Up @@ -57,7 +54,7 @@ type Client struct {
func NewClient(customerName string) *Client {
return &Client{
CustomerName: customerName,
transport: &http.Transport{},
transport: &http.Transport{Proxy: http.ProxyFromEnvironment},
}
}

Expand Down

0 comments on commit be20024

Please # to comment.