Skip to content

Commit

Permalink
E2E: remove invalid HCLv1 field on submissions test
Browse files Browse the repository at this point in the history
HCLv1 support was removed entirely in #23912, but I missed this one test and
documentation reference.
  • Loading branch information
tgross committed Sep 9, 2024
1 parent cbc27e2 commit b6e7f92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion e2e/jobsubmissions/jobsubapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func testParseAPI(t *testing.T) {

job, err := nomad.Jobs().ParseHCLOpts(&api.JobsParseRequest{
JobHCL: string(spec),
HCLv1: false,
Variables: "X=\"baz\" \n Y=50 \n Z=true \n",
Canonicalize: true,
})
Expand Down
2 changes: 0 additions & 2 deletions website/content/api-docs/jobs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ The table below shows this endpoint's support for
- `Variables` `(string: "")` - Specifies HCL2 variables to use during parsing of
the job in the var file format.

- `HCLv1` `(bool: false)` - Use the legacy v1 HCL parser.

### Sample Payload

```json
Expand Down

0 comments on commit b6e7f92

Please sign in to comment.