Skip to content

Commit 97dbf3a

Browse files
authored
Merge pull request kubernetes#88104 from sshukun/fix-impossible-condition
Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go
2 parents cf192e6 + 7f9e228 commit 97dbf3a

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)