forked from charmed-hpc/slurm-snap
-
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.
refactor: use context manager to create config files on demand
- No longer create empty slurm.conf file at installation. Instead the context manager will create an empty `SlurmConfig` object and make the new file the first time the admin sets a config value. Signed-off-by: Jason C. Nucciarone <[email protected]>
- Loading branch information
1 parent
57446aa
commit b5ea556
Showing
2 changed files
with
56 additions
and
62 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