Fix formatting

This commit is contained in:
Michael Schurter 2017-05-25 09:37:03 -07:00
parent 796d3250a5
commit 6d67d4dfbf
1 changed files with 2 additions and 1 deletions

View File

@ -254,11 +254,12 @@ WAIT:
}
for _, tmpl := range tmpls {
// Read environment variables from templates
if err := loadTemplateEnv(envBuilder, taskDir, tmpl); err != nil {
tm.hook.Kill("consul-template", err.Error(), true)
return
}
switch tmpl.ChangeMode {
case structs.TemplateChangeModeSignal:
signals[tmpl.ChangeSignal] = struct{}{}