Use newest flannel API

This commit is contained in:
Erik Wilson 2019-09-27 11:51:59 -07:00
parent 0a605374c9
commit 0af32bba75

View File

@ -44,7 +44,7 @@ func flannel(ctx context.Context, flannelIface *net.Interface, flannelConf, kube
return err 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 { if err != nil {
return err return err
} }