mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 01:45:25 -07:00
Change validate-modules for removed modules
Removed modules now don't have documentation. Need to account for that when checking them in validte-modules
This commit is contained in:
parent
3ccdb35f59
commit
68c60ad307
3 changed files with 190 additions and 139 deletions
|
@ -179,10 +179,8 @@ def metadata_1_0_schema(deprecated):
|
|||
)
|
||||
|
||||
|
||||
def metadata_1_1_schema(deprecated):
|
||||
def metadata_1_1_schema():
|
||||
valid_status = Any('stableinterface', 'preview', 'deprecated', 'removed')
|
||||
if deprecated:
|
||||
valid_status = Any('deprecated')
|
||||
|
||||
return Schema(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue