Support bundles: fix user collector permissions and format collector output (#64531)

* fix user collector permissions and format collector output

* lint
This commit is contained in:
Ieva
2023-03-09 11:43:18 -05:00
committed by GitHub
parent 3336327306
commit ed11c32c1d
3 changed files with 6 additions and 4 deletions
@@ -79,7 +79,7 @@ func (s *Service) bundle(ctx context.Context, collectors []string, uid string) (
}
item, err := collector.Fn(ctx)
if err != nil {
s.log.Warn("Failed to collect support bundle item", "error", err)
s.log.Warn("Failed to collect support bundle item", "error", err, "collector", collector.UID)
}
// write item to file