Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
name and selector to be mutually exclusive
  • Loading branch information
Kenny Woodson committed Apr 3, 2017
1 parent 24a063e commit 57543ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/lib_openshift/library/oc_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ def main():
force=dict(default=False, type='bool'),
selector=dict(default=None, type='str'),
),
mutually_exclusive=[["content", "files"]],
mutually_exclusive=[["content", "files"],["selector", "name"]],

supports_check_mode=True,
)
Expand Down
2 changes: 1 addition & 1 deletion roles/lib_openshift/src/ansible/oc_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main():
force=dict(default=False, type='bool'),
selector=dict(default=None, type='str'),
),
mutually_exclusive=[["content", "files"]],
mutually_exclusive=[["content", "files"],["selector", "name"]],

supports_check_mode=True,
)
Expand Down

0 comments on commit 57543ae

Please sign in to comment.