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: added null check before value conversion to avoid panic #1020

Merged

Conversation

Rchanger
Copy link
Contributor

@Rchanger Rchanger commented Sep 15, 2021

Closes #1019

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #1020 (c8db224) into master (eaf5927) will decrease coverage by 0.03%.
The diff coverage is 60.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1020      +/-   ##
==========================================
- Coverage   78.22%   78.18%   -0.04%     
==========================================
  Files         237      237              
  Lines        6292     6299       +7     
==========================================
+ Hits         4922     4925       +3     
- Misses       1067     1069       +2     
- Partials      303      305       +2     
Impacted Files Coverage Δ
.../iac-providers/terraform/commons/cty-converters.go 76.92% <0.00%> (-3.08%) ⬇️
...ders/terraform/commons/extract-container-images.go 78.63% <75.00%> (-0.84%) ⬇️

@cesar-rodriguez cesar-rodriguez merged commit 2bf4cdb into tenable:master Sep 15, 2021
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.

panic: value is null
2 participants