Revert "Added missing %s to error format string"

This reverts commit f4acdfd035c2ffa196035cc574d8b40a1795abb3.
This commit is contained in:
Chris Bednarski 2015-11-18 11:28:38 -08:00
parent 7a077a29b5
commit e17f5984ef
3 changed files with 2 additions and 8 deletions

View File

@ -431,7 +431,7 @@ func (d *DockerDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle
if len(containers) != 1 {
log.Printf("[ERR] driver.docker: failed to get id for container %s", config.Name)
return nil, fmt.Errorf("Failed to get id for container %s: %s", config.Name, err)
return nil, fmt.Errorf("Failed to get id for container %s", config.Name, err)
}
log.Printf("[INFO] driver.docker: a container with the name %s already exists; will attempt to purge and re-create", config.Name)

View File

@ -545,9 +545,3 @@ func TestDockerDNS(t *testing.T) {
t.Errorf("DNS Servers don't match.\nExpected:\n%s\nGot:\n%s\n", task.Config["dns_search_domains"], container.HostConfig.DNSSearch)
}
}
func TestDockerAuth(t *testing.T) {
if !dockerIsConnected(t) {
t.SkipNow()
}
}

View File

@ -1,5 +1,5 @@
source "https://rubygems.org"
ruby "2.2.3"
ruby "2.2.2"
gem "middleman-hashicorp", github: "hashicorp/middleman-hashicorp"