Skip to content

Commit 0858390

Browse files
authored
Update README.md
1 parent ed559f6 commit 0858390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Run `docker compose up -d` to launch a local SLURM cluster.
1919

2020
Within the *c2* node, set the JSON web token: `export $(docker compose exec c2 scontrol token)`
2121

22-
Test that you can access the SLURM API: `curl -k -vvvv -H X-SLURM-USER-TOKEN:$SLURM_JWT -H X-SLURM-USER-NAME:root -X GET 'http://localhost:9200/openapi/v3' > docs.json`
22+
Test that you can access the SLURM API documentation: `curl -k -vvvv -H X-SLURM-USER-TOKEN:${SLURM_JWT} -H X-SLURM-USER-NAME:root -X GET 'http://localhost:9200/openapi/v3' > docs.json`
2323

2424
Submit a SLURM job: `curl -X POST "http://localhost:9200/slurm/v0.0.37/job/submit" -H "X-SLURM-USER-NAME:root" -H "X-SLURM-USER-TOKEN:${SLURM_JWT}" -H "Content-Type: application/json" -d @rest_api_test.json`
2525

0 commit comments

Comments
 (0)