fixes saltstack/salt#64122 state_queue type checking does not allow int values

This commit is contained in:
nicholasmhughes 2023-04-20 14:52:40 -04:00 committed by Pedro Algarvio
parent 9a6ab55c3b
commit 8f0f4f1d3b
2 changed files with 2 additions and 1 deletions

1
changelog/64122.fixed.md Normal file
View file

@ -0,0 +1 @@
Fix state_queue type checking to allow int values

View file

@ -373,7 +373,7 @@ VALID_OPTS = immutabletypes.freeze(
# applications that depend on the original format.
"unique_jid": bool,
# Governs whether state runs will queue or fail to run when a state is already running
"state_queue": bool,
"state_queue": (bool, int),
# Tells the highstate outputter to show successful states. False will omit successes.
"state_verbose": bool,
# Specify the format for state outputs. See highstate outputter for additional details.