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

[PR #5240/775be1d3 backport][stable-5] multiple modules: removed unused imports #5257

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Sep 9, 2022

This is a backport of PR #5240 as merged into main (775be1d).

SUMMARY

Removed many imports that are not used by their code.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

plugins/modules/cloud/alicloud/ali_instance.py
plugins/modules/cloud/alicloud/ali_instance_info.py
plugins/modules/cloud/misc/proxmox.py
plugins/modules/cloud/misc/proxmox_domain_info.py
plugins/modules/cloud/misc/proxmox_group_info.py
plugins/modules/cloud/misc/proxmox_kvm.py
plugins/modules/cloud/misc/proxmox_nic.py
plugins/modules/cloud/misc/proxmox_snap.py
plugins/modules/cloud/misc/proxmox_storage_info.py
plugins/modules/cloud/misc/proxmox_tasks_info.py
plugins/modules/cloud/misc/proxmox_template.py
plugins/modules/cloud/misc/proxmox_user_info.py
plugins/modules/database/misc/redis.py
plugins/modules/monitoring/airbrake_deployment.py
plugins/modules/monitoring/datadog/datadog_downtime.py
plugins/modules/remote_management/imc/imc_rest.py
plugins/modules/remote_management/redfish/ilo_redfish_info.py
plugins/modules/system/sap_task_list_execute.py
plugins/modules/web_infrastructure/rundeck_job_executions_info.py
plugins/modules/web_infrastructure/rundeck_job_run.py

* multiple modules: removed unused imports

* fixed ali_instance(_info) import check

* add changelog fragment

* Update changelogs/fragments/5240-unused-imports.yaml

Co-authored-by: Felix Fontein <[email protected]>

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 775be1d)
@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug cloud database module module module_utils module_utils monitoring new_contributor Help guide this first time contributor plugins plugin (any type) remote_management system web_infrastructure labels Sep 9, 2022
@felixfontein felixfontein merged commit 5d6047a into stable-5 Sep 9, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-5/775be1d3f3edb1b53049b625f2115f1b1f75179b/pr-5240 branch September 9, 2022 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug cloud database module_utils module_utils module module monitoring new_contributor Help guide this first time contributor plugins plugin (any type) remote_management system web_infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants