Merge pull request #10204 from caesarxuchao/pr/9754/head

Continue on #9754, Improvements to the guestbook README, switch to .yaml files
This commit is contained in:
Jeff Lowdermilk
2015-06-23 09:44:06 -07:00
19 changed files with 476 additions and 527 deletions

View File

@@ -28,7 +28,7 @@ import (
func TestNewClient(t *testing.T) {
o := NewObjects(api.Scheme, api.Scheme)
if err := AddObjectsFromPath("../../../examples/guestbook/frontend-service.json", o, api.Scheme); err != nil {
if err := AddObjectsFromPath("../../../examples/guestbook/frontend-service.yaml", o, api.Scheme); err != nil {
t.Fatal(err)
}
client := &Fake{ReactFn: ObjectReaction(o, latest.RESTMapper)}