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

Check Kind() by 0 #587

Merged
merged 1 commit into from
Jan 22, 2021
Merged

Check Kind() by 0 #587

merged 1 commit into from
Jan 22, 2021

Conversation

bundleman
Copy link
Contributor

In pkg/runtime/values/helpers.go added Kind check to 0.
Otherwise, passing parameters with a nested nil structure leads to panic.

@codecov
Copy link

codecov bot commented Jan 22, 2021

Codecov Report

Merging #587 (3adf159) into master (dd0e9ee) will increase coverage by 0.0%.
The diff coverage is 0.0%.

@@          Coverage Diff           @@
##           master    #587   +/-   ##
======================================
  Coverage    42.2%   42.3%           
======================================
  Files         268     268           
  Lines        8089    8092    +3     
======================================
+ Hits         3416    3421    +5     
  Misses       4307    4307           
+ Partials      366     364    -2     

@ziflex ziflex merged commit cd35437 into MontFerret:master Jan 22, 2021
@ziflex
Copy link
Member

ziflex commented Jan 22, 2021

Good catch!
Thank you for your contribution!

@bundleman bundleman deleted the kind-zero branch April 5, 2021 19:15
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