ansible-collections / community.kubernetes

Kubernetes Collection for Ansible
https://galaxy.ansible.com/community/kubernetes
GNU General Public License v3.0
265 stars 106 forks source link

action/k8s_info: refactoring to simplify the code base #331

Closed goneri closed 3 years ago

goneri commented 3 years ago
SUMMARY

Break down the long run() method to simplify the readability of the plugin.

ISSUE TYPE
COMPONENT NAME

action/k8s_info

codecov[bot] commented 3 years ago

Codecov Report

Merging #331 (3e14c13) into main (01ee3e6) will increase coverage by 0.10%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #331      +/-   ##
==========================================
+ Coverage   37.02%   37.12%   +0.10%     
==========================================
  Files           3        3              
  Lines         732      738       +6     
  Branches      144      143       -1     
==========================================
+ Hits          271      274       +3     
- Misses        412      415       +3     
  Partials       49       49              
Impacted Files Coverage Δ
...ns/community/kubernetes/plugins/action/k8s_info.py 23.17% <0.00%> (+1.10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 01ee3e6...3e14c13. Read the comment docs.