Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
add more log output to ctf builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schrodi committed Mar 3, 2021
1 parent 515c26d commit eeda025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/ctf/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ It is expected that the given path points to a CTF Archive`, o.CTFPath)
if err != nil {
return err
}

if err := ctfArchive.AddComponentArchive(ca, o.ArchiveFormat); err != nil {
return fmt.Errorf("unable to add component archive %q to ctf: %s", ca.ComponentDescriptor.GetName(), err.Error())
}
log.Info(fmt.Sprintf("Successfully added component archive from %q", caPath))
}
if err := ctfArchive.Write(); err != nil {
return fmt.Errorf("unable to write modified ctf archive: %s", err.Error())
Expand Down

0 comments on commit eeda025

Please sign in to comment.