Skip to content

Commit

Permalink
e2e: fix error checking in kubelet stats
Browse files Browse the repository at this point in the history
  • Loading branch information
yujuhong committed Apr 13, 2016
1 parent ae57644 commit c6a2611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/kubelet_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ func (r *resourceCollector) Stop() {
// the resource usage, and pushes it to the buffer.
func (r *resourceCollector) collectStats(oldStatsMap map[string]*stats.ContainerStats) {
summary, err := getNodeStatsSummary(r.client, r.node)
cStatsMap := getSystemContainerStats(summary)
if err != nil {
Logf("Error getting node stats summary on %q, err: %v", r.node, err)
return
}
cStatsMap := getSystemContainerStats(summary)
r.lock.Lock()
defer r.lock.Unlock()
for _, name := range r.containers {
Expand Down

1 comment on commit c6a2611

@k8s-teamcity-mesosphere

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests Build 21256 outcome was SUCCESS
Summary: Tests passed: 1, ignored: 275 Build time: 00:08:25

Please sign in to comment.