cmd/crio: fix reading insecure-registry flags
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
efb71ae74e
commit
78e2fd3d5e
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