Commit eb48166d authored by gmarek's avatar gmarek

Fix resource-gatherer that never gathered resources from non-master machines

parent a24f03c3
......@@ -281,10 +281,12 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
finished: false,
inKubemark: false,
})
if options.masterOnly {
break
}
}
}
}
return &g, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment