fix containerd-cni-config-path typo

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
v0.7
Darren Shepherd 2020-01-10 21:41:07 -07:00 committed by Jacob Blain Christen
parent a1bf12f806
commit 6cc8a72665
1 changed files with 1 additions and 1 deletions

View File

@ -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")