replace err with warn

This commit is contained in:
Preetha
2018-01-23 14:18:24 -06:00
committed by Preetha Appan
parent 0b75835fe0
commit de34bc41fe

View File

@@ -844,7 +844,7 @@ func (n *Node) UpdateAlloc(args *structs.AllocUpdateRequest, reply *structs.Gene
continue
}
if job == nil {
n.srv.logger.Printf("[ERR] nomad.client: UpdateAlloc unable to find job ID %q", existingAlloc.JobID)
n.srv.logger.Printf("[WARN] nomad.client: UpdateAlloc unable to find job ID %q", existingAlloc.JobID)
continue
}
taskGroup := job.LookupTaskGroup(existingAlloc.TaskGroup)