From 6cc8a72665b5138a52b90e9af1da175e07611141 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Fri, 10 Jan 2020 21:41:07 -0700 Subject: [PATCH] fix containerd-cni-config-path typo Signed-off-by: Jacob Blain Christen --- cmd/buildkitd/main_containerd_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/buildkitd/main_containerd_worker.go b/cmd/buildkitd/main_containerd_worker.go index c578e0e7..dd8d7f8c 100644 --- a/cmd/buildkitd/main_containerd_worker.go +++ b/cmd/buildkitd/main_containerd_worker.go @@ -179,7 +179,7 @@ func applyContainerdFlags(c *cli.Context, cfg *config.Config) error { cfg.Workers.Containerd.NetworkConfig.Mode = c.GlobalString("containerd-worker-net") } if c.GlobalIsSet("containerd-cni-config-path") { - cfg.Workers.Containerd.NetworkConfig.CNIConfigPath = c.GlobalString("containerd-cni-worker-path") + cfg.Workers.Containerd.NetworkConfig.CNIConfigPath = c.GlobalString("containerd-cni-config-path") } if c.GlobalIsSet("containerd-cni-binary-dir") { cfg.Workers.Containerd.NetworkConfig.CNIBinaryPath = c.GlobalString("containerd-cni-binary-dir")