Commit 80571705 authored by tianshapjq's avatar tianshapjq

gofmt the service_test.go

parent 55521ee8
...@@ -153,13 +153,13 @@ func TestGenerateService(t *testing.T) { ...@@ -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{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment