mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Update syft bootstrap tools to latest versions. (#1171)
* Update syft bootstrap tools to latest versions. Signed-off-by: GitHub <noreply@github.com> Signed-off-by: Weston Steimel <weston.steimel@anchore.com> Co-authored-by: Weston Steimel <weston.steimel@anchore.com>
This commit is contained in:
co-authored by
Weston Steimel
parent
6949a2500f
commit
b0fc955e0c
@@ -74,8 +74,9 @@ func formatDockerPullPhase(phase docker.PullPhase, inputStr string) string {
|
||||
}
|
||||
}
|
||||
|
||||
// nolint:funlen
|
||||
// formatDockerImagePullStatus writes the docker image pull status summarized into a single line for the given state.
|
||||
//
|
||||
//nolint:funlen
|
||||
func formatDockerImagePullStatus(pullStatus *docker.PullStatus, spinner *components.Spinner, line *frame.Line) {
|
||||
var size, current uint64
|
||||
|
||||
@@ -397,8 +398,9 @@ func SecretsCatalogerStartedHandler(ctx context.Context, fr *frame.Frame, event
|
||||
return err
|
||||
}
|
||||
|
||||
//nolint:dupl
|
||||
// FileMetadataCatalogerStartedHandler shows the intermittent secrets searching progress.
|
||||
//
|
||||
//nolint:dupl
|
||||
func FileMetadataCatalogerStartedHandler(ctx context.Context, fr *frame.Frame, event partybus.Event, wg *sync.WaitGroup) error {
|
||||
prog, err := syftEventParsers.ParseFileMetadataCatalogingStarted(event)
|
||||
if err != nil {
|
||||
@@ -483,7 +485,8 @@ func FileIndexingStartedHandler(ctx context.Context, fr *frame.Frame, event part
|
||||
}
|
||||
|
||||
// FileMetadataCatalogerStartedHandler shows the intermittent secrets searching progress.
|
||||
// nolint:dupl
|
||||
//
|
||||
//nolint:dupl
|
||||
func FileDigestsCatalogerStartedHandler(ctx context.Context, fr *frame.Frame, event partybus.Event, wg *sync.WaitGroup) error {
|
||||
prog, err := syftEventParsers.ParseFileDigestsCatalogingStarted(event)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user