From 0af32bba75301230b1edc143eb299b625d870440 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Fri, 27 Sep 2019 11:51:59 -0700 Subject: [PATCH] Use newest flannel API --- pkg/agent/flannel/flannel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/flannel/flannel.go b/pkg/agent/flannel/flannel.go index 18f4a011f7..8526772813 100644 --- a/pkg/agent/flannel/flannel.go +++ b/pkg/agent/flannel/flannel.go @@ -44,7 +44,7 @@ func flannel(ctx context.Context, flannelIface *net.Interface, flannelConf, kube return err } - sm, err := kube.NewSubnetManager("", flannelConf, kubeConfigFile, "flannel.alpha.coreos.com") + sm, err := kube.NewSubnetManager("", kubeConfigFile, "flannel.alpha.coreos.com", flannelConf) if err != nil { return err }