Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Dec 12, 2023
1 parent fe16ac1 commit b4f37a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion policy/scan/local_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ func (s *LocalScanner) distributeJob(job *Job, ctx context.Context, upstream *up
scanGroups.Add(1)
go func() {
defer scanGroups.Done()
multiprogress.Open()
if err := multiprogress.Open(); err != nil {
log.Error().Err(err).Msg("failed to open progress bar")
}
}()

assetBatches := batch(assets, 10)
Expand Down

0 comments on commit b4f37a1

Please sign in to comment.