aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/deprecated.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config/deprecated.go')
-rw-r--r--pkg/config/deprecated.go3
1 files changed, 1 insertions, 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