Skip to content

Get-IcingaCheckCommandConfig behaves strange on switch parameters if doc is incomplete #753

@moreamazingnick

Description

@moreamazingnick

If the doc section is incomplete parameter.type.name can be switch instead of switchparameter which breaks the whole set_if logic.

This only occures if the parameter is not menthioned in the doc section.

$IcingaCheckInstallation_Switch_DoVersionCheck$

Windows 11 Pro

Best Regards
Nicolas

Metadata

Metadata

Assignees

Labels

BugThere is an issue present

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions