Skip to content

Commit

Permalink
client: fix trace log message in alloc hook update (#6881)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Dec 19, 2019
1 parent ff501b4 commit ac7990f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/allocrunner/alloc_runner_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ac7990f

Please sign in to comment.