Skip to content

Commit

Permalink
rename R to RDescriptionFile in generator
Browse files Browse the repository at this point in the history
Signed-off-by: Will Murphy <will.murphy@anchore.com>
  • Loading branch information
willmurphyscode committed May 9, 2023
1 parent 484cbe8 commit 469d0a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion schema/json/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ can be extended to include specific package metadata struct shapes in the future
// not matter as long as it is exported.

// TODO: this should be generated from reflection of whats in the pkg package
// Should be created during generation below; use reflection's ability to
// create types at runtime.
// should be same name as struct minus metadata
type artifactMetadataContainer struct {
Alpm pkg.AlpmMetadata
Apk pkg.ApkMetadata
Expand Down Expand Up @@ -56,7 +59,7 @@ type artifactMetadataContainer struct {
PythonPackage pkg.PythonPackageMetadata
PythonPipfilelock pkg.PythonPipfileLockMetadata
PythonRequirements pkg.PythonRequirementsMetadata
R pkg.RDescriptionFileMetadata
RDescriptionFile pkg.RDescriptionFileMetadata
Rebar pkg.RebarLockMetadata
Rpm pkg.RpmMetadata
RustCargo pkg.CargoPackageMetadata
Expand Down

0 comments on commit 469d0a2

Please # to comment.