Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanity errors in discovery and event subscription modules. #200

Closed
madhansansel opened this issue Oct 29, 2024 · 1 comment
Closed

Sanity errors in discovery and event subscription modules. #200

madhansansel opened this issue Oct 29, 2024 · 1 comment

Comments

@madhansansel
Copy link
Contributor

Prerequisites

  • [ No ] Have you tested the operation in the API directly?
  • [ Yes] Do you have the latest Ansible collection version?
  • [ Yes] Review the compatibility matrix before opening an issue.

Name of the module
plugins/modules/discovery.py
event_subscription.py

Describe the bug
We are getting sanity issues in the following modules.

https://github.com/cisco-en-programmability/catalyst-center-ansible-intg/actions/runs/11568565274/job/32200725747?pr=9

ERROR: Found 5 validate-modules issue(s) which need to be resolved:
240ERROR: plugins/modules/discovery.py:0:0: option-equal-up-to-casing: Multiple options/aliases are equal up to casing: option 'snmpROCommunity', option 'snmpRoCommunity'
241ERROR: plugins/modules/discovery.py:0:0: option-equal-up-to-casing: Multiple options/aliases are equal up to casing: option 'snmpROCommunityDesc', option 'snmpRoCommunityDesc'
242ERROR: plugins/modules/discovery.py:0:0: option-equal-up-to-casing: Multiple options/aliases are equal up to casing: option 'snmpRWCommunity', option 'snmpRwCommunity'
243ERROR: plugins/modules/discovery.py:0:0: option-equal-up-to-casing: Multiple options/aliases are equal up to casing: option 'snmpRWCommunityDesc', option 'snmpRwCommunityDesc'
244ERROR: plugins/modules/discovery.py:0:0: option-equal-up-to-casing: Multiple options/aliases are equal up to casing: option 'timeOut', option 'timeout'
245See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/validate-modules.html

ERROR: plugins/action/event_subscription.py:111:41: used-before-assignment: Using variable 'tmp_result' before assignment
219
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Please provide an screenshot of the successful API call with cuRL, Postman, etc.

@JosePabloOcampo1212
Copy link
Collaborator

This problem has already been resolved, the issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants