mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
gofmt the service_test.go
This commit is contained in:
parent
55521ee8be
commit
8057170588
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user