diff options
author | Arun Isaac | 2024-09-16 16:32:24 +0100 |
---|---|---|
committer | Arun Isaac | 2024-09-16 16:32:24 +0100 |
commit | 64a5cf9d2d4f279eb1560523bf0f8048568811dd (patch) | |
tree | cd4dbc4551dbf022f6864f1c518acb64300c2edb | |
parent | 4d5ab14d78fbe9305f56bead350405846a888757 (diff) | |
download | ravanan-64a5cf9d2d4f279eb1560523bf0f8048568811dd.tar.gz ravanan-64a5cf9d2d4f279eb1560523bf0f8048568811dd.tar.lz ravanan-64a5cf9d2d4f279eb1560523bf0f8048568811dd.zip |
bin: Explain why we support the SLURM_JWT=token format.
* bin/ravanan (read-jwt): Explain why we support the SLURM_JWT=token
format.
-rwxr-xr-x | bin/ravanan | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ravanan b/bin/ravanan index 1d08dc6..2b44163 100755 --- a/bin/ravanan +++ b/bin/ravanan @@ -94,6 +94,8 @@ Slurm API batch system options: (define (read-jwt file) "Read JWT token from @var{file}. Support both files that only have the token and files that have the token in the @verbatim{SLURM_JWT=token} format." + ;; We support the SLURM_JWT=token format because that's how `scontrol token' + ;; outputs it. (call-with-input-file file (compose (cut string-trim-prefix "SLURM_JWT=" <>) string-trim-both |