This commit is contained in:
Marc Campbell
2020-03-05 23:41:55 +00:00
parent 6277101574
commit 8126cb3d3d

View File

@@ -83,7 +83,7 @@ func (c *Collector) RunCollectorSync() ([]byte, error) {
return Logs(c.GetContext(), c.Collect.Logs)
}
if c.Collect.Run != nil {
isExcluded, err := isExcluded(c.Collect.ClusterInfo.Exclude)
isExcluded, err := isExcluded(c.Collect.Run.Exclude)
if err != nil {
return nil, err
}