diff --git a/pkg/agent/containerd/config_windows.go b/pkg/agent/containerd/config_windows.go index 422a35800a..3efb80197f 100644 --- a/pkg/agent/containerd/config_windows.go +++ b/pkg/agent/containerd/config_windows.go @@ -44,7 +44,7 @@ func setupContainerdConfig(ctx context.Context, cfg *config.Node) error { NodeConfig: cfg, DisableCgroup: true, IsRunningInUserNS: false, - PrivateRegistryConfig: privRegistries.Registry(), + PrivateRegistryConfig: privRegistries.Registry, } containerdTemplateBytes, err := ioutil.ReadFile(cfg.Containerd.Template)