mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Fix resource-gatherer that never gathered resources from non-master machines
This commit is contained in:
parent
a24f03c3c9
commit
eb48166d5b
@ -281,7 +281,9 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
|
||||
finished: false,
|
||||
inKubemark: false,
|
||||
})
|
||||
break
|
||||
if options.masterOnly {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user