Skip to content

Commit

Permalink
fix: fixed collectors manager writing to error log (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek-legit authored Dec 19, 2023
1 parent 2d10296 commit 925f6e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/collectors/collectors_manager/collectors_manager.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package collectors_manager

import (
"log"

"github.com/Legit-Labs/legitify/cmd/progressbar"
"github.com/Legit-Labs/legitify/internal/collectors"
"github.com/Legit-Labs/legitify/internal/common/group_waiter"
Expand Down Expand Up @@ -48,7 +46,6 @@ func (m *manager) Collect() <-chan collectors.CollectedData {

gw.Do(func() {
totalEntities := c.CollectTotalEntities()
log.Printf("total entities for namespace %s: %d", c.Namespace(), totalEntities)
progressbar.Report(progressbar.NewRequiredBar(c.Namespace(), totalEntities))
progressbar.Report(progressbar.NewUpdate(metadataBarName, 1))

Expand Down

0 comments on commit 925f6e9

Please sign in to comment.