Fix gofmt warnings
This commit is contained in:
parent
e53dd15f58
commit
39ef9ee76d
|
@ -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": {
|
||||||
|
|
|
@ -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",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue