From 5630dc3f0e7ad7e672f5ddb7d0b01c10bbb0b12b Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Tue, 19 Jan 2016 11:45:51 -0800 Subject: [PATCH] comments --- nomad/periodic_endpoint.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomad/periodic_endpoint.go b/nomad/periodic_endpoint.go index f7aea0612..f8de4ae00 100644 --- a/nomad/periodic_endpoint.go +++ b/nomad/periodic_endpoint.go @@ -8,12 +8,12 @@ import ( "github.com/hashicorp/nomad/nomad/structs" ) -// Job endpoint is used for job interactions +// Periodic endpoint is used for periodic job interactions type Periodic struct { srv *Server } -// Evaluate is used to force a job for re-evaluation +// Force is used to force a new instance of a periodic job func (p *Periodic) Force(args *structs.PeriodicForceRequest, reply *structs.PeriodicForceResponse) error { if done, err := p.srv.forward("Periodic.Force", args, args, reply); done { return err