Fix gofmt warnings

This commit is contained in:
Preetha Appan 2017-11-18 09:23:09 -06:00
parent e53dd15f58
commit 39ef9ee76d
2 changed files with 3 additions and 3 deletions

View file

@ -564,10 +564,10 @@ func (d *DockerDriver) Validate(config map[string]interface{}) error {
"userns_mode": { "userns_mode": {
Type: fields.TypeString, Type: fields.TypeString,
}, },
"sysctl": &fields.FieldSchema{ "sysctl": {
Type: fields.TypeArray, Type: fields.TypeArray,
}, },
"ulimit": &fields.FieldSchema{ "ulimit": {
Type: fields.TypeArray, Type: fields.TypeArray,
}, },
"port_map": { "port_map": {

View file

@ -865,7 +865,7 @@ func TestDockerDriver_Sysctl_Ulimit(t *testing.T) {
"nofile": "2048:4096", "nofile": "2048:4096",
} }
task.Config["sysctl"] = []map[string]string{ task.Config["sysctl"] = []map[string]string{
map[string]string{ {
"net.core.somaxconn": "16384", "net.core.somaxconn": "16384",
}, },
} }