cli: remove unreachable drain message

This commit is contained in:
Michael Schurter 2018-03-30 14:15:12 -07:00
parent f912cd4272
commit 7046db8818
1 changed files with 0 additions and 4 deletions

View File

@ -291,10 +291,6 @@ func (n *Nodes) monitorDrainAllocs(ctx context.Context, nodeID string, ignoreSys
case migrating && (orig.DesiredStatus != a.DesiredStatus) && a.DesiredStatus == structs.AllocDesiredStatusStop:
// Alloc has already been marked for migration and is now being stopped
msg = "draining"
case a.NextAllocation != "" && orig.NextAllocation == "":
// Alloc has been replaced by another allocation
msg = fmt.Sprintf("replaced by allocation %q", a.NextAllocation)
}
if msg != "" {