Skip to content

avoid nil pointer panic #2691

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

Merged
merged 1 commit into from
Jan 6, 2022
Merged

avoid nil pointer panic #2691

merged 1 commit into from
Jan 6, 2022

Conversation

dirkm
Copy link

@dirkm dirkm commented Jan 6, 2022

My crash for the issue #2690 goes away with this little patch.

I am not sure if this fixes the real issue, or if this is just a workaround.
Somebody with more expertise should inspect the patch before applying.

@codecov
Copy link

codecov bot commented Jan 6, 2022

Codecov Report

Merging #2691 (6643cef) into master (14fb201) will decrease coverage by 0.01%.
The diff coverage is 50.00%.

❗ Current head 6643cef differs from pull request most recent head 33b3a94. Consider uploading reports for the commit 33b3a94 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2691      +/-   ##
==========================================
- Coverage   82.96%   82.94%   -0.02%     
==========================================
  Files          54       54              
  Lines        9521     9524       +3     
==========================================
+ Hits         7899     7900       +1     
- Misses       1111     1112       +1     
- Partials      511      512       +1     
Impacted Files Coverage Δ
codescan/schema.go 69.60% <50.00%> (-0.16%) ⬇️

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 14fb201...33b3a94. Read the comment docs.

@casualjim casualjim merged commit 61e4be5 into go-swagger:master Jan 6, 2022
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