From 881abb8919cd370d35ae401d38e9e66a2ce5468c Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Sun, 21 Feb 2016 21:03:24 -0800 Subject: [PATCH] Fixing comment --- nomad/node_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad/node_endpoint.go b/nomad/node_endpoint.go index c94ba7a3e..01bba2127 100644 --- a/nomad/node_endpoint.go +++ b/nomad/node_endpoint.go @@ -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") }