From 333468dba3fc30644594dce6377231a5d18397e0 Mon Sep 17 00:00:00 2001 From: Thom May Date: Tue, 25 Nov 2014 14:00:53 +0000 Subject: [PATCH] the flannel service is called flanneld --- system/flannel.go | 2 +- system/flannel_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/flannel.go b/system/flannel.go index dc75a62..d6559a5 100644 --- a/system/flannel.go +++ b/system/flannel.go @@ -13,5 +13,5 @@ type Flannel struct { // Units generates a Unit file drop-in for flannel, if any flannel options were // configured in cloud-config func (fl Flannel) Units() []Unit { - return dropinFromConfig(fl.Flannel, "flannel.service") + return dropinFromConfig(fl.Flannel, "flanneld.service") } diff --git a/system/flannel_test.go b/system/flannel_test.go index 7800a95..943382e 100644 --- a/system/flannel_test.go +++ b/system/flannel_test.go @@ -22,7 +22,7 @@ func TestFlannelUnits(t *testing.T) { EtcdPrefix: "/coreos.com/network/tenant1", }, []Unit{{config.Unit{ - Name: "flannel.service", + Name: "flanneld.service", Content: `[Service] Environment="FLANNELD_ETCD_ENDPOINT=http://12.34.56.78:4001" Environment="FLANNELD_ETCD_PREFIX=/coreos.com/network/tenant1"