mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
client: fix trace log message in alloc hook update (#6881)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user