Skip to content

Commit 7f9e228

Browse files
author
Shukun
committed
Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go
1 parent c099585 commit 7f9e228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/framework/resource_usage_gatherer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func (w *resourceGatherWorker) singleProbe() {
185185
data := make(ResourceUsagePerContainer)
186186
if w.inKubemark {
187187
kubemarkData := getKubemarkMasterComponentsResourceUsage()
188-
if data == nil {
188+
if kubemarkData == nil {
189189
return
190190
}
191191
for k, v := range kubemarkData {

0 commit comments

Comments
 (0)