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

k8s: Handle ValueError raised #330

Closed Akasurde closed 3 years ago

Akasurde commented 3 years ago
SUMMARY

API raises ValueError when namespace is not provided in definition. Handle and provide meaningful message to user about this.

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
COMPONENT NAME

changelogs/fragments/handle_valueerror.yml plugins/module_utils/common.py

codecov[bot] commented 3 years ago

Codecov Report

Merging #330 (f18a03e) into main (a6cb6c4) will decrease coverage by 0.24%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #330      +/-   ##
==========================================
- Coverage   37.12%   36.87%   -0.25%     
==========================================
  Files           3        3              
  Lines         738      743       +5     
  Branches      143      145       +2     
==========================================
  Hits          274      274              
- Misses        415      420       +5     
  Partials       49       49              
Impacted Files Coverage Δ
...ommunity/kubernetes/plugins/module_utils/common.py 35.64% <0.00%> (-0.33%) :arrow_down:

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 a6cb6c4...f18a03e. Read the comment docs.