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

@@ -78,8 +78,8 @@ func (c *endpoints) Get(name string) (result *api.Endpoints, err error) {
// Watch returns a watch.Interface that watches the requested endpoints for a service.
func (c *endpoints) Watch(label, field labels.Selector, resourceVersion string) (watch.Interface, error) {
return c.r.Get().
Namespace(c.ns).
Path("watch").
Namespace(c.ns).
Path("endpoints").
Param("resourceVersion", resourceVersion).
SelectorParam("labels", label).