Skip to content

Commit

Permalink
feat: use mungectl key generate
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Jul 3, 2024
1 parent 9e533ec commit 89f0b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slurmhelpers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def generate_key(self) -> None:
"""
logging.info("Generating new secret file for service `munged`.")
try:
subprocess.check_output(["mungectl", "generate"])
subprocess.check_output(["mungectl", "key", "generate"])
except subprocess.CalledProcessError:
logging.fatal("Failed to generate a new munge key")
raise
Expand Down

0 comments on commit 89f0b61

Please sign in to comment.