Skip to content

Commit

Permalink
ad
Browse files Browse the repository at this point in the history
  • Loading branch information
rchincha committed Apr 12, 2024
1 parent 117adcc commit 8979c9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/fs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ func BuildPackageFromDir(input string, kdoc *k8spdx.Document, kpkg *k8spdx.Packa
)
kfile.LicenseInfoInFile = license

log.Error().Interface("conv3 kfile", kfile).Msg("CONV")

if err := kpkg.AddFile(kfile); err != nil {
log.Error().Err(err).Msg("unable to add file to package")

Expand Down Expand Up @@ -251,7 +253,7 @@ func BuildPackageFromFile(input string, kpkg *k8spdx.Package, license string) er
continue
}

log.Info().Interface("conv", conv).Msg("CONV")
log.Error().Interface("conv", conv).Msg("CONV")

if err := kpkg.AddFile(conv); err != nil {
log.Error().Err(err).Str("path", conv.Name).Msg("unable to add file to package")
Expand Down Expand Up @@ -298,6 +300,8 @@ func BuildPackageFromFile(input string, kpkg *k8spdx.Package, license string) er
},
)

log.Error().Interface("conv2 kfile", kfile).Msg("CONV")

if err := kpkg.AddFile(kfile); err != nil {
log.Error().Err(err).Msg("unable to add file to package")

Expand Down

0 comments on commit 8979c9b

Please sign in to comment.