mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user