Use VersionedParams in "extensions" client.

This commit is contained in:
Wojciech Tyczynski
2015-11-26 10:40:45 +01:00
parent 1dc513d390
commit cdded4f011
13 changed files with 45 additions and 48 deletions

View File

@@ -107,8 +107,7 @@ func (c *deployments) Watch(label labels.Selector, field fields.Selector, opts u
Prefix("watch").
Namespace(c.ns).
Resource("deployments").
Param("resourceVersion", opts.ResourceVersion).
TimeoutSeconds(TimeoutFromListOptions(opts)).
VersionedParams(&opts, api.Scheme).
LabelsSelectorParam(label).
FieldsSelectorParam(field).
Watch()