Skip to content
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

fix content_template library_id reference in delete #92

Conversation

mikemorency
Copy link
Collaborator

SUMMARY

Fixes #90

While refactoring the content_template module, one variable reference was missed. There are no tests for the spot that this issue occurred. I fixed the variable and added tests to cover this spot.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

content_template

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 27.38%. Comparing base (bb1aba5) to head (81cff78).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
plugins/modules/content_template.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   27.89%   27.38%   -0.52%     
==========================================
  Files          25       31       +6     
  Lines        2079     2542     +463     
  Branches      386      468      +82     
==========================================
+ Hits          580      696     +116     
- Misses       1499     1846     +347     
Flag Coverage Δ
sanity 27.38% <0.00%> (-0.52%) ⬇️

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.

@mikemorency mikemorency force-pushed the bugfix/content-template-delete branch from 2968421 to 1a58526 Compare December 19, 2024 16:28
Copy link
Collaborator

@anna-savina anna-savina left a comment

Choose a reason for hiding this comment

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

LGTM

@prabinovRedhat
Copy link
Collaborator

lgtm

@mikemorency mikemorency merged commit 624aba0 into ansible-collections:main Dec 23, 2024
11 of 13 checks passed
@mikemorency mikemorency deleted the bugfix/content-template-delete branch December 23, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The content_template module cannot delete template
3 participants