-
Notifications
You must be signed in to change notification settings - Fork 38
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
Remove superfluous param from get_bin_path #109
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 23s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 5m 07s |
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]>
Co-authored-by: Felix Fontein <[email protected]>
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 40s |
try: | ||
terraform_binary = process.get_bin_path("terraform") | ||
except ValueError: | ||
raise AnsibleParserError("Unable to find 'terraform' binary in the path") |
There was a problem hiding this comment.
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.
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