From 5f1b3e7e94006b6064ea095dc1d9a938ade5c454 Mon Sep 17 00:00:00 2001 From: Chris Baker Date: Thu, 25 Apr 2019 18:44:33 +0000 Subject: [PATCH] minor change to comments --- client/alloc_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/alloc_endpoint.go b/client/alloc_endpoint.go index 9ce4b50b30f..7ade2cebf34 100644 --- a/client/alloc_endpoint.go +++ b/client/alloc_endpoint.go @@ -52,7 +52,7 @@ func (a *Allocations) GarbageCollect(args *nstructs.AllocSpecificRequest, reply func (a *Allocations) Signal(args *nstructs.AllocSignalRequest, reply *nstructs.GenericResponse) error { defer metrics.MeasureSince([]string{"client", "allocations", "signal"}, time.Now()) - // Check submit job permissions + // Check alloc lifecycle permissions if aclObj, err := a.c.ResolveToken(args.AuthToken); err != nil { return err } else if aclObj != nil && !aclObj.AllowNsOp(args.Namespace, acl.NamespaceCapabilityAllocLifecycle) {