use constants for group names

This commit is contained in:
deads2k
2015-12-08 09:21:04 -05:00
parent 775369a8f1
commit d0aaf13920
59 changed files with 191 additions and 156 deletions

View File

@@ -152,7 +152,7 @@ func (tc *patchTestCase) Run(t *testing.T) {
namespace := tc.startingPod.Namespace
name := tc.startingPod.Name
codec := latest.GroupOrDie("").Codec
codec := latest.GroupOrDie(api.GroupName).Codec
testPatcher := &testPatcher{}
testPatcher.startingPod = tc.startingPod