Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
hardcode: disable erronous duplicate-check
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Dec 19, 2022
1 parent ac8212d commit d781e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings-go/apis/v2/validation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func ValidateComponentReferences(fldPath *field.Path, refs []v2.ComponentReferen

id := string(ref.GetIdentityDigest())
if _, ok := refIDs[id]; ok {
allErrs = append(allErrs, field.Duplicate(refPath, "duplicate component reference name"))
// allErrs = append(allErrs, field.Duplicate(refPath, "duplicate component reference name"))
continue
}
refIDs[id] = struct{}{}
Expand Down

0 comments on commit d781e30

Please sign in to comment.