mirror of https://github.com/grafana/grafana.git
remove commented code
This commit is contained in:
parent
915ea0046f
commit
709f95c5ff
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue