mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
Chore: Remove redundant error check (#83769)
This commit is contained in:
parent
0dfdb2ae47
commit
8ad367e4ad
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user