Further fixes.

This commit is contained in:
Brendan Burns
2014-10-27 14:48:42 -07:00
parent fca05982fc
commit 455471d77d

View File

@@ -306,12 +306,12 @@ func createService(ctx api.Context, name string, port int, client client.Interfa
ObjectMeta: api.ObjectMeta{
Name: name,
Labels: map[string]string{
"simpleService": name,
"name": name,
},
},
Port: port,
Selector: map[string]string{
"simpleService": name,
"name": name,
},
}
svc, err := client.Services(api.Namespace(ctx)).Create(svc)