add -insecure-skip-tls-verify

This commit is contained in:
Yann Hamon 2020-11-08 13:06:21 +01:00
parent b162c5b6f5
commit ec56304efd
5 changed files with 13 additions and 4 deletions

View file

@ -150,7 +150,7 @@ func realMain() int {
registries := []registry.Registry{}
for _, schemaLocation := range cfg.SchemaLocations {
registries = append(registries, registry.New(schemaLocation, cfg.Strict))
registries = append(registries, registry.New(schemaLocation, cfg.Strict, cfg.SkipTLS))
}
var o output.Output