Fix path ordering in client

This commit is contained in:
derekwaynecarr
2014-12-16 16:11:45 -05:00
parent 6694a45542
commit cbbe61d115
4 changed files with 7 additions and 7 deletions

View File

@@ -95,8 +95,8 @@ func (c *replicationControllers) Delete(name string) error {
// Watch returns a watch.Interface that watches the requested controllers.
func (c *replicationControllers) Watch(label, field labels.Selector, resourceVersion string) (watch.Interface, error) {
return c.r.Get().
Namespace(c.ns).
Path("watch").
Namespace(c.ns).
Path("replicationControllers").
Param("resourceVersion", resourceVersion).
SelectorParam("labels", label).