client: fix trace log message in alloc hook update (#6881)

This commit is contained in:
Tim Gross
2019-12-19 16:44:04 -05:00
committed by GitHub
parent ff501b4aaa
commit ac7990f2a7

View File

@@ -203,7 +203,7 @@ func (ar *allocRunner) update(update *structs.Allocation) error {
var start time.Time
if ar.logger.IsTrace() {
start = time.Now()
ar.logger.Trace("running pre-run hook", "name", name, "start", start)
ar.logger.Trace("running update hook", "name", name, "start", start)
}
if err := h.Update(req); err != nil {