Skip to content

Commit

Permalink
rm unnecessary print
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed May 9, 2024
1 parent 56bb6da commit 0e5b3d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/controller/constraint_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func GenerateAPIConstraint(instance *unstructured.Unstructured, template *templa
if annotations := instance.GetAnnotations(); annotations != nil {
var bundleData BundleData
if d, ok := annotations[bundleDataAnnotation]; ok {
fmt.Printf("found bundle data: %s\n", d)
if err := yaml.Unmarshal([]byte(d), &bundleData); err != nil {
pca.Description = lo.ToPtr(bundleData.Description)
pca.Recommendation = lo.ToPtr(bundleData.Remediation)
Expand Down

0 comments on commit 0e5b3d4

Please sign in to comment.