Merge pull request #630 from runcom/fix-insecure-reg-flag
cmd/crio: fix reading insecure-registry flags
This commit is contained in:
commit
328e50fb50
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func mergeConfig(config *server.Config, ctx *cli.Context) error {
|
||||||
config.StorageOptions = ctx.GlobalStringSlice("storage-opt")
|
config.StorageOptions = ctx.GlobalStringSlice("storage-opt")
|
||||||
}
|
}
|
||||||
if ctx.GlobalIsSet("insecure-registry") {
|
if ctx.GlobalIsSet("insecure-registry") {
|
||||||
config.InsecureRegistries = ctx.GlobalStringSlice("insecure-registries")
|
config.InsecureRegistries = ctx.GlobalStringSlice("insecure-registry")
|
||||||
}
|
}
|
||||||
if ctx.GlobalIsSet("default-transport") {
|
if ctx.GlobalIsSet("default-transport") {
|
||||||
config.DefaultTransport = ctx.GlobalString("default-transport")
|
config.DefaultTransport = ctx.GlobalString("default-transport")
|
||||||
|
|
Loading…
Reference in a new issue