Fixing comment

This commit is contained in:
Armon Dadgar 2016-02-21 21:03:24 -08:00
parent 06425211ab
commit 5a9c7f7002
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ func (n *Node) UpdateAlloc(args *structs.AllocUpdateRequest, reply *structs.Gene
}
defer metrics.MeasureSince([]string{"nomad", "client", "update_alloc"}, time.Now())
// Ensure only a single alloc
// Ensure at least a single alloc
if len(args.Alloc) == 0 {
return fmt.Errorf("must update at least one allocation")
}