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(gcp): handle KeyError in Compute service #3471

Conversation

sergargar
Copy link
Member

Description

Handle KeyErrors in Compute service so all the Instances can be retrieved.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sergargar sergargar requested a review from a team as a code owner February 29, 2024 14:34
@sergargar sergargar linked an issue Feb 29, 2024 that may be closed by this pull request
@github-actions github-actions bot added the provider/gcp Issues/PRs related with the Google Cloud Platform provider label Feb 29, 2024
Copy link
Member

@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

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

Great catch!

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

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

Project coverage is 85.85%. Comparing base (fea144a) to head (f564e8c).

Files Patch % Lines
.../providers/gcp/services/compute/compute_service.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3471      +/-   ##
==========================================
+ Coverage   85.81%   85.85%   +0.03%     
==========================================
  Files         660      660              
  Lines       20578    20578              
==========================================
+ Hits        17660    17668       +8     
+ Misses       2918     2910       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sergargar sergargar merged commit 15b501d into master Feb 29, 2024
10 of 11 checks passed
@sergargar sergargar deleted the 3426-bug-not-getting-results-for-gcp-compute-instances-with-public-ips branch February 29, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider/gcp Issues/PRs related with the Google Cloud Platform provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Not getting results for GCP compute instances with public IPs
2 participants