mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-27 20:42:58 +00:00
Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go
This commit is contained in:
parent
c099585b10
commit
7f9e228bd7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user