Skip to content

Commit

Permalink
Merge pull request #10044 from hashicorp/b-fix-drainer-error-msg
Browse files Browse the repository at this point in the history
drainer: fix error message when handling drain deadlined nodes.
  • Loading branch information
jrasell authored Feb 18, 2021
2 parents e47ce42 + 7b3906e commit 095ed2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/drainer/drainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func (n *NodeDrainer) handleDeadlinedNodes(nodes []string) {
// Raft transaction size.
for _, nodes := range partitionIds(defaultMaxIdsPerTxn, nodes) {
if _, err := n.raft.NodesDrainComplete(nodes, event); err != nil {
n.logger.Error("ailed to unset drain for nodes", "error", err)
n.logger.Error("failed to unset drain for nodes", "error", err)
}
}
}
Expand Down

0 comments on commit 095ed2c

Please sign in to comment.