Skip to content

Conversation

@Akasurde
Copy link
Member

@Akasurde Akasurde commented Jan 3, 2024

SUMMARY

The parameter required in process.get_bin_path is useless.
Remove and update the usage of get_bin_path in inventory and lookup
plugins.

Signed-off-by: Abhijeet Kasurde [email protected]

ISSUE TYPE
  • Bugfix Pull Request

@codecov
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.23%. Comparing base (8c52bf2) to head (61a036b).
Report is 15 commits behind head on main.

❗ Current head 61a036b differs from pull request most recent head 32d1b21. Consider uploading reports for the commit 32d1b21 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   73.00%   79.23%   +6.23%     
==========================================
  Files          16       23       +7     
  Lines        1015     1445     +430     
  Branches      182      253      +71     
==========================================
+ Hits          741     1145     +404     
- Misses        243      258      +15     
- Partials       31       42      +11     
Flag Coverage Δ
sanity ?
units 79.23% <ø> (+6.62%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@softwarefactory-project-zuul
Copy link

@softwarefactory-project-zuul
Copy link

Akasurde and others added 2 commits May 13, 2024 14:45
The parameter `required` in process.get_bin_path is useless.
Remove and update the usage of get_bin_path in inventory and lookup
plugins.

Signed-off-by: Abhijeet Kasurde <[email protected]>
@softwarefactory-project-zuul
Copy link

try:
terraform_binary = process.get_bin_path("terraform")
except ValueError:
raise AnsibleParserError("Unable to find 'terraform' binary in the path")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be imported, first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants