Skip to content

New-DbaAgentJobStep - Fix OnFailAction ValidateSet order to match actual default#10244

Merged
potatoqualitee merged 1 commit into
developmentfrom
claude/issue-9695-20260314-1648
Mar 16, 2026
Merged

New-DbaAgentJobStep - Fix OnFailAction ValidateSet order to match actual default#10244
potatoqualitee merged 1 commit into
developmentfrom
claude/issue-9695-20260314-1648

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

Fix the documentation inconsistency where the ValidateSet for OnFailAction listed QuitWithSuccess first, causing doc generators to display it as "(default)" even though the actual default is QuitWithFailure.

Reorder the ValidateSet so QuitWithFailure comes first, matching the actual parameter default.

Fixes #9695

Generated with Claude Code

…ual default

Reorder the ValidateSet for OnFailAction so QuitWithFailure (the actual
default) appears first. Previously QuitWithSuccess was first, causing doc
generators to display it as '(default)' instead of QuitWithFailure.

Fixes #9695

(do New-DbaAgentJobStep)

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
@potatoqualitee potatoqualitee merged commit 0ee03fc into development Mar 16, 2026
15 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-9695-20260314-1648 branch March 16, 2026 18:37
@potatoqualitee
Copy link
Copy Markdown
Member

interesting issue, thank yo for solution

potatoqualitee added a commit that referenced this pull request Apr 10, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New-DbaAgentJobStep gives two different defaults for OnFailAction

2 participants