forked from determined-ai/determined
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Properly handle a "--wckey" value in sbatch file that has spaces…
… [DET-9199] (determined-ai#765) Switched to using strconv.Quote() to add the double quotes and escape embedded quotes, as Bradley had suggested If label is empty, then wckey will be "". Otherwise, PBS fails if there's a '-P' with nothing after it.
- Loading branch information
1 parent
0263fb1
commit fd2a231
Showing
2 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters