Make resource gatherer work for Kubemark

This commit is contained in:
gmarek
2016-04-15 01:00:19 +02:00
parent 490c68dbe3
commit 0071a8627c
2 changed files with 86 additions and 37 deletions

View File

@@ -142,7 +142,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 {