Skip to content

Commit

Permalink
Docker doesn't need to init the stats helper
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Mar 14, 2017
1 parent 36dc330 commit a6067d5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/driver/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,11 +612,6 @@ func (d *DockerDriver) dockerClients() (*docker.Client, *docker.Client, error) {
var err error
var merr multierror.Error
createClients.Do(func() {
if err = shelpers.Init(); err != nil {
d.logger.Printf("[FATAL] driver.docker: unable to initialize stats: %v", err)
return
}

// Default to using whatever is configured in docker.endpoint. If this is
// not specified we'll fall back on NewClientFromEnv which reads config from
// the DOCKER_* environment variables DOCKER_HOST, DOCKER_TLS_VERIFY, and
Expand Down

0 comments on commit a6067d5

Please sign in to comment.