remove commented code
CodeQL checks / Detect whether code changed (push) Has been cancelled Details
CodeQL checks / Analyze (actions) (push) Has been cancelled Details
CodeQL checks / Analyze (go) (push) Has been cancelled Details
CodeQL checks / Analyze (javascript) (push) Has been cancelled Details

This commit is contained in:
Yuri Tseretyan 2025-10-06 12:38:32 -04:00
parent 915ea0046f
commit 709f95c5ff
1 changed files with 0 additions and 3 deletions

View File

@ -130,9 +130,6 @@ func (r *Receiver) WithExistingSecureFields(existing *Receiver, integrationSecur
// Validate validates all integration settings, ensuring that the integrations are correctly configured.
func (r *Receiver) Validate(decryptFn DecryptFn) error {
var errs []error
// if r.Name == "" {
// errs = append(errs, fmt.Errorf("name should not be an empty string"))
// }
for _, integration := range r.Integrations {
if err := integration.Validate(decryptFn); err != nil {
errs = append(errs, err)