mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Fixing comment
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user