gofmt the service_test.go

This commit is contained in:
tianshapjq 2017-02-03 08:55:41 +08:00
parent 55521ee8be
commit 8057170588

View File

@ -153,13 +153,13 @@ func TestGenerateService(t *testing.T) {
{ {
generator: ServiceGeneratorV2{}, generator: ServiceGeneratorV2{},
params: map[string]interface{}{ params: map[string]interface{}{
"selector": "foo=bar,baz=blah", "selector": "foo=bar,baz=blah",
"name": "test", "name": "test",
"port": "80", "port": "80",
"protocol": "UDP", "protocol": "UDP",
"container-port": "foobar", "container-port": "foobar",
"external-ip": "1.2.3.4", "external-ip": "1.2.3.4",
"type": "LoadBalancer", "type": "LoadBalancer",
}, },
expected: api.Service{ expected: api.Service{
ObjectMeta: api.ObjectMeta{ ObjectMeta: api.ObjectMeta{