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

Expand error checks for receptors datadir #931

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

AaronH88
Copy link
Contributor

Instead of checking for just os.IsNotExist when discovering the receptor datadir, check for any possible error.
This will expand the error checks to permission denied errors also.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (01b1443) 38.10% compared to head (ab7f6b1) 38.14%.

@@            Coverage Diff             @@
##            devel     #931      +/-   ##
==========================================
+ Coverage   38.10%   38.14%   +0.04%     
==========================================
  Files          40       40              
  Lines        7406     7408       +2     
==========================================
+ Hits         2822     2826       +4     
- Misses       4422     4423       +1     
+ Partials      162      159       -3     
Files Coverage Δ
pkg/workceptor/workceptor.go 48.45% <33.33%> (+0.22%) ⬆️

... and 3 files with indirect coverage changes

@resoluteCoder resoluteCoder merged commit f18e589 into ansible:devel Jan 19, 2024
17 checks passed
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.

2 participants