mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-26 19:35:10 +00:00
vendor: Bump cAdvisor to v0.45.0
Signed-off-by: David Porter <david@porter.me>
This commit is contained in:
3
vendor/github.com/google/cadvisor/client/v2/client.go
generated
vendored
3
vendor/github.com/google/cadvisor/client/v2/client.go
generated
vendored
@@ -96,6 +96,9 @@ func (c *Client) Stats(name string, request *v2.RequestOptions) (map[string]v2.C
|
||||
"count": []string{strconv.Itoa(request.Count)},
|
||||
"recursive": []string{strconv.FormatBool(request.Recursive)},
|
||||
}
|
||||
if request.MaxAge != nil {
|
||||
data.Set("max_age", request.MaxAge.String())
|
||||
}
|
||||
|
||||
u = fmt.Sprintf("%s?%s", u, data.Encode())
|
||||
if err := c.httpGetJSONData(&ret, nil, u, "stats"); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user