Skip to content

Commit

Permalink
Merge pull request #7809 from greut/typos
Browse files Browse the repository at this point in the history
api: fix some documentation typos
  • Loading branch information
Mahmood Ali committed Apr 27, 2020
2 parents 732ec71 + 26c1aeb commit 51b6ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Jobs struct {
client *Client
}

// JobsParseRequest is used for arguments of the /vi/jobs/parse endpoint
// JobsParseRequest is used for arguments of the /v1/jobs/parse endpoint
type JobsParseRequest struct {
// JobHCL is an hcl jobspec
JobHCL string
Expand All @@ -60,7 +60,7 @@ func (c *Client) Jobs() *Jobs {
return &Jobs{client: c}
}

// Parse is used to convert the HCL repesentation of a Job to JSON server side.
// ParseHCL is used to convert the HCL repesentation of a Job to JSON server side.
// To parse the HCL client side see package github.com/hashicorp/nomad/jobspec
func (j *Jobs) ParseHCL(jobHCL string, canonicalize bool) (*Job, error) {
var job Job
Expand Down

0 comments on commit 51b6ba8

Please sign in to comment.