diff --git a/cmd/crio/main.go b/cmd/crio/main.go index b6377df0..044cbcd6 100644 --- a/cmd/crio/main.go +++ b/cmd/crio/main.go @@ -63,7 +63,7 @@ func mergeConfig(config *server.Config, ctx *cli.Context) error { config.StorageOptions = ctx.GlobalStringSlice("storage-opt") } if ctx.GlobalIsSet("insecure-registry") { - config.InsecureRegistries = ctx.GlobalStringSlice("insecure-registries") + config.InsecureRegistries = ctx.GlobalStringSlice("insecure-registry") } if ctx.GlobalIsSet("default-transport") { config.DefaultTransport = ctx.GlobalString("default-transport")