Merge pull request #3181 from smarterclayton/cleanup_http_items

Minor cleanups to request - fix initialism on HTTPClientFunc
This commit is contained in:
Daniel Smith
2014-12-30 17:34:00 -08:00
4 changed files with 11 additions and 8 deletions

View File

@@ -226,6 +226,9 @@ func (r *Request) SelectorParam(paramName string, s labels.Selector) *Request {
if r.err != nil {
return r
}
if s.Empty() {
return r
}
return r.setParam(paramName, s.String())
}