mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00: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:
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user