Merge pull request #2759 from fuweid/bugfix_use_right_flag_value

bugfix: use skip-verify flag not insecure in ctr
This commit is contained in:
Michael Crosby
2018-11-05 14:20:56 -05:00
committed by GitHub

View File

@@ -90,7 +90,7 @@ func GetResolver(ctx gocontext.Context, clicontext *cli.Context) (remotes.Resolv
IdleConnTimeout: 30 * time.Second,
TLSHandshakeTimeout: 10 * time.Second,
TLSClientConfig: &tls.Config{
InsecureSkipVerify: clicontext.Bool("insecure"),
InsecureSkipVerify: clicontext.Bool("skip-verify"),
},
ExpectContinueTimeout: 5 * time.Second,
}