Rename Object to EmbeddedObject

This commit is contained in:
Daniel Smith
2014-09-05 14:43:35 -07:00
parent e4cd06d2b9
commit 7790961011
9 changed files with 24 additions and 24 deletions

View File

@@ -36,7 +36,7 @@ func TestDecoder(t *testing.T) {
expect := &api.Pod{JSONBase: api.JSONBase{ID: "foo"}}
go func() {
err := encoder.Encode(api.WatchEvent{watch.Added, runtime.Object{expect}})
err := encoder.Encode(api.WatchEvent{watch.Added, runtime.EmbeddedObject{expect}})
if err != nil {
t.Errorf("Unexpected error %v", err)
}