manual changes to patch subresource

This commit is contained in:
Chao Xu
2016-07-11 22:29:52 -07:00
parent d4df168186
commit dc2e12d2f8
7 changed files with 54 additions and 12 deletions

View File

@@ -186,7 +186,7 @@ func (m *FakeNodeHandler) Watch(opts api.ListOptions) (watch.Interface, error) {
return nil, nil
}
func (m *FakeNodeHandler) Patch(name string, pt api.PatchType, data []byte) (*api.Node, error) {
func (m *FakeNodeHandler) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (*api.Node, error) {
return nil, nil
}