Skip to content

Commit

Permalink
Fix impossible condition in test/e2e/framework/resource_usage_gathere…
Browse files Browse the repository at this point in the history
…r.go
  • Loading branch information
sshukun committed Feb 13, 2020
1 parent c099585 commit 7f9e228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/framework/resource_usage_gatherer.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 7f9e228

Please sign in to comment.