From 64a5cf9d2d4f279eb1560523bf0f8048568811dd Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 16 Sep 2024 16:32:24 +0100 Subject: bin: Explain why we support the SLURM_JWT=token format. * bin/ravanan (read-jwt): Explain why we support the SLURM_JWT=token format. --- bin/ravanan | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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 -- cgit v1.2.3