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

This commit is contained in:
gmarek 2016-05-17 17:53:18 +02:00
parent a24f03c3c9
commit eb48166d5b

View File

@ -281,7 +281,9 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
finished: false,
inKubemark: false,
})
break
if options.masterOnly {
break
}
}
}
}