Refactor tests to split ObjectMeta from TypeMeta
This commit is contained in:
@@ -108,7 +108,7 @@ func TestRunOnce(t *testing.T) {
|
||||
kb.dockerPuller = &dockertools.FakeDockerPuller{}
|
||||
results, err := kb.runOnce([]api.BoundPod{
|
||||
{
|
||||
TypeMeta: api.TypeMeta{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "foo",
|
||||
Namespace: "new",
|
||||
Annotations: map[string]string{ConfigSourceAnnotationKey: "test"},
|
||||
|
Reference in New Issue
Block a user