Comment and correct formatting

This commit is contained in:
Michael Schurter 2017-05-25 09:30:58 -07:00
parent 5f9cb4c514
commit 796d3250a5
1 changed files with 2 additions and 0 deletions

View File

@ -195,12 +195,14 @@ WAIT:
}
}
// Read environment variables from env templates
for _, t := range tm.templates {
if err := loadTemplateEnv(envBuilder, taskDir, t); err != nil {
tm.hook.Kill("consul-template", err.Error(), true)
return
}
}
allRenderedTime = time.Now()
tm.hook.UnblockStart("consul-template")