Commit eb48166d authored by gmarek's avatar gmarek

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

parent a24f03c3
...@@ -281,7 +281,9 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions) ...@@ -281,7 +281,9 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
finished: false, finished: false,
inKubemark: false, inKubemark: false,
}) })
break if options.masterOnly {
break
}
} }
} }
} }
......
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