From dcf497add2fbfe7939dabce37b42718207f93664 Mon Sep 17 00:00:00 2001 From: moelsayed Date: Mon, 26 Feb 2018 23:43:24 +0200 Subject: [PATCH] Fix etcd process regression --- cluster/plan.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cluster/plan.go b/cluster/plan.go index f53a9d6d..0154cd07 100644 --- a/cluster/plan.go +++ b/cluster/plan.go @@ -393,12 +393,13 @@ func (c *Cluster) BuildEtcdProcess(host *hosts.Host, etcdHosts []*hosts.Host) v3 URL: services.EtcdHealthCheckURL, } return v3.Process{ - Name: services.EtcdContainerName, - Args: args, - Binds: Binds, - NetworkMode: "host", - Image: c.Services.Etcd.Image, - HealthCheck: healthCheck, + Name: services.EtcdContainerName, + Args: args, + Binds: Binds, + NetworkMode: "host", + RestartPolicy: "always", + Image: c.Services.Etcd.Image, + HealthCheck: healthCheck, } }