Chore: Remove redundant error check (#83769)

This commit is contained in:
Santiago authored and GitHub committed 2024-03-01 13:28:08 -03:00
1 parent 0dfdb2ae47
commit 8ad367e4ad
1 file changed
-3
-3
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 {