Skip to content

Commit ca4e6a1

Browse files
authored
Merge pull request #830 from oidq/fix/rspamd-panic
rspamd: fix panic on unspecified tls_client
2 parents 9c5e85d + 2ab067c commit ca4e6a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/check/rspamd/rspamd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (c *Check) Configure(inlineArgs []string, cfg *config.Map) error {
9797
)
9898

9999
cfg.Custom("tls_client", true, false, func() (interface{}, error) {
100-
return tls.Config{}, nil
100+
return &tls.Config{}, nil
101101
}, tls2.TLSClientBlock, &tlsConfig)
102102
cfg.String("api_path", false, false, c.apiPath, &c.apiPath)
103103
cfg.String("settings_id", false, false, "", &c.settingsID)

0 commit comments

Comments
 (0)