Merge pull request #24291 from gmarek/gatherer

Automatic merge from submit-queue

Make resource gatherer work for Kubemark
This commit is contained in:
k8s-merge-robot
2016-04-23 02:53:58 -07:00
2 changed files with 86 additions and 37 deletions

View File

@@ -144,7 +144,7 @@ func (f *Framework) BeforeEach() {
}
if TestContext.GatherKubeSystemResourceUsageData {
f.gatherer, err = NewResourceUsageGatherer(c)
f.gatherer, err = NewResourceUsageGatherer(c, ResourceGathererOptions{inKubemark: ProviderIs("kubemark")})
if err != nil {
Logf("Error while creating NewResourceUsageGatherer: %v", err)
} else {