From c48f6dcb347fdf2cd82e8a9a6492901bea9529cc Mon Sep 17 00:00:00 2001 From: Dawn Chen Date: Fri, 25 Jul 2014 13:00:49 -0700 Subject: [PATCH] bump(github.com/google/cadvisor/client): fb8fa5d9353549ad265462c9e99affe93a3d5a22 --- third_party/src/github.com/google/cadvisor/client/client.go | 4 ---- .../src/github.com/google/cadvisor/client/client_test.go | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/third_party/src/github.com/google/cadvisor/client/client.go b/third_party/src/github.com/google/cadvisor/client/client.go index 033cbc2a31e6d..f49176e3d4ada 100644 --- a/third_party/src/github.com/google/cadvisor/client/client.go +++ b/third_party/src/github.com/google/cadvisor/client/client.go @@ -36,10 +36,6 @@ func NewClient(URL string) (*Client, error) { "api/v1.0", }, "/"), } - _, err := c.MachineInfo() - if err != nil { - return nil, err - } return c, nil } diff --git a/third_party/src/github.com/google/cadvisor/client/client_test.go b/third_party/src/github.com/google/cadvisor/client/client_test.go index 323bbf8d0e443..f8016f178f84b 100644 --- a/third_party/src/github.com/google/cadvisor/client/client_test.go +++ b/third_party/src/github.com/google/cadvisor/client/client_test.go @@ -96,7 +96,7 @@ func TestGetContainerInfo(t *testing.T) { NumStats: 3, NumSamples: 2, CpuUsagePercentiles: []int{10, 50, 90}, - MemoryUsagePercentages: []int{10, 80, 90}, + MemoryUsagePercentiles: []int{10, 80, 90}, } containerName := "/some/container" cinfo := itest.GenerateRandomContainerInfo(containerName, 4, query, 1*time.Second)