From 7ab63d74ce88c20d0550767ef01f50237ad92778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 11 May 2021 01:36:31 +0200 Subject: Small style improvement --- pkg/config/deprecated.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/config/deprecated.go b/pkg/config/deprecated.go index becc9fb..44ed6f6 100644 --- a/pkg/config/deprecated.go +++ b/pkg/config/deprecated.go @@ -22,8 +22,7 @@ var deprecatedOpts = map[string]deprecated{ "execurl": {"Use 'exec' instead.", nil}, "filter": {"Use 'item-filter' instead.", nil}, "disable-ssl-verification": {"Interpreted as 'tls-no-verify'.", func(i interface{}, global *GlobalOptions, opts *Options) { - val, ok := i.(bool) - if ok { + if val, ok := i.(bool); ok { if val && !opts.NoTLS { // do not overwrite the set NoTLS flag! opts.NoTLS = val -- cgit v1.2.3