From 78e2fd3d5edaf163b9657a7c373ccadd14521b21 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 23 Jun 2017 16:40:27 +0200 Subject: [PATCH] cmd/crio: fix reading insecure-registry flags Signed-off-by: Antonio Murdaca --- cmd/crio/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")