Skip to content

Commit 2a10bc7

Browse files
Merge pull request containerd#2759 from fuweid/bugfix_use_right_flag_value
bugfix: use skip-verify flag not insecure in ctr
2 parents 0535fa6 + a02f7ce commit 2a10bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ctr/commands/resolver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func GetResolver(ctx gocontext.Context, clicontext *cli.Context) (remotes.Resolv
9090
IdleConnTimeout: 30 * time.Second,
9191
TLSHandshakeTimeout: 10 * time.Second,
9292
TLSClientConfig: &tls.Config{
93-
InsecureSkipVerify: clicontext.Bool("insecure"),
93+
InsecureSkipVerify: clicontext.Bool("skip-verify"),
9494
},
9595
ExpectContinueTimeout: 5 * time.Second,
9696
}

0 commit comments

Comments
 (0)