Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Jan 19, 2016
1 parent ad34dc8 commit 5630dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nomad/periodic_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5630dc3

Please sign in to comment.