Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go

This commit is contained in:
Shukun 2020-02-13 16:13:19 +09:00
parent c099585b10
commit 7f9e228bd7

View File

@ -185,7 +185,7 @@ func (w *resourceGatherWorker) singleProbe() {
data := make(ResourceUsagePerContainer)
if w.inKubemark {
kubemarkData := getKubemarkMasterComponentsResourceUsage()
if data == nil {
if kubemarkData == nil {
return
}
for k, v := range kubemarkData {