Chore: Remove redundant error check (#83769)

This commit is contained in:
Santiago 2024-03-01 13:28:08 -03:00 committed by GitHub
parent 0dfdb2ae47
commit 8ad367e4ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,9 +66,6 @@ func PostableToGettableGrafanaReceiver(r *apimodels.PostableGrafanaReceiver, pro
for k, v := range r.SecureSettings {
decryptedValue := decryptFn(v)
if err != nil {
return apimodels.GettableGrafanaReceiver{}, err
}
if decryptedValue == "" {
continue
} else {