ansible-collections / community.digitalocean

This Ansible collection contains modules for assisting in the automation of the DigitalOcean cloud.
https://galaxy.ansible.com/community/digitalocean/
GNU General Public License v3.0
140 stars 57 forks source link

Fix project_name parameter #332

Closed raman-babich closed 10 months ago

raman-babich commented 11 months ago
SUMMARY

Replaced self.module.params.get("project") with self.module.params.get("project_name")

Fixes #326 Fixes #255

ISSUE TYPE
COMPONENT NAME

digital_ocean_block_storage digital_ocean_database digital_ocean_domain digital_ocean_droplet digital_ocean_floating_ip digital_ocean_load_balancer

ADDITIONAL INFORMATION
codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (505362b) 30.78% compared to head (1ae3a12) 62.60%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #332 +/- ## =========================================== + Coverage 30.78% 62.60% +31.81% =========================================== Files 46 46 Lines 3602 3602 Branches 738 738 =========================================== + Hits 1109 2255 +1146 + Misses 2473 1058 -1415 - Partials 20 289 +269 ``` | [Flag](https://app.codecov.io/gh/ansible-collections/community.digitalocean/pull/332/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/ansible-collections/community.digitalocean/pull/332/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | `65.38% <100.00%> (?)` | | | [sanity](https://app.codecov.io/gh/ansible-collections/community.digitalocean/pull/332/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | `26.12% <0.00%> (ø)` | | | [units](https://app.codecov.io/gh/ansible-collections/community.digitalocean/pull/332/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | `62.35% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mamercad commented 11 months ago

Try rebasing because of #335 please.