mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #25751 from gmarek/gatherer
Automatic merge from submit-queue Fix resource-gatherer that never gathered resources from non-master m…
This commit is contained in:
commit
f3ab7b182f
@ -281,10 +281,12 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
|
|||||||
finished: false,
|
finished: false,
|
||||||
inKubemark: false,
|
inKubemark: false,
|
||||||
})
|
})
|
||||||
|
if options.masterOnly {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return &g, nil
|
return &g, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user