Tighten validation of Name and Namespace
This commit is contained in:

committed by
Clayton Coleman

parent
358ace610d
commit
a480794efc
@@ -143,7 +143,7 @@ func TestControllerDecode(t *testing.T) {
|
||||
func TestControllerParsing(t *testing.T) {
|
||||
expectedController := api.ReplicationController{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "nginxController",
|
||||
Name: "nginx-controller",
|
||||
Labels: map[string]string{
|
||||
"name": "nginx",
|
||||
},
|
||||
|
Reference in New Issue
Block a user