Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/rpc/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func ConvertFromRPCLibraries(rpcLibs []*common.Library) []ftypes.LibraryInfo {
Library: deptypes.Library{
Name: l.Name,
Version: l.Version,
License: l.License,
},
})
}
Expand All @@ -78,6 +79,7 @@ func ConvertToRPCLibraries(libs []deptypes.Library) []*common.Library {
rpcLibs = append(rpcLibs, &common.Library{
Name: l.Name,
Version: l.Version,
License: l.License,
})
}
return rpcLibs
Expand Down Expand Up @@ -408,6 +410,7 @@ func ConvertToRPCBlobInfo(diffID string, blobInfo ftypes.BlobInfo) *cache.PutBlo
libs = append(libs, &common.Library{
Name: lib.Library.Name,
Version: lib.Library.Version,
License: lib.Library.License,
})
}
applications = append(applications, &common.Application{
Expand Down
1 change: 1 addition & 0 deletions pkg/scanner/local/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ func (s Scanner) scanLibrary(apps []ftypes.Application, options types.ScanOption
pkgs = append(pkgs, ftypes.Package{
Name: lib.Library.Name,
Version: lib.Library.Version,
License: lib.Library.License,
Layer: lib.Layer,
})
}
Expand Down
Loading