mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Make sure that one of project_src and definition is provided. (#886)
This commit is contained in:
@@ -518,6 +518,9 @@ def common_compose_argspec_ex():
|
||||
('definition', 'project_src'),
|
||||
('definition', 'files')
|
||||
],
|
||||
required_one_of=[
|
||||
('definition', 'project_src'),
|
||||
],
|
||||
required_by={
|
||||
'definition': ('project_name', ),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user