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

🐛 guard against nil aws account asset in discovery #3373

Closed
wants to merge 1 commit into from

Conversation

vjeffrey
Copy link
Contributor

No description provided.


awsAccount := res.(*mqlAwsAccount)
var awsAccount *mqlAwsAccount
if res != nil {
Copy link
Member

Choose a reason for hiding this comment

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

would we not need to abort here? otherwise the followup call with a nil aws account probably also would fail

Copy link
Contributor

Test Results

2 804 tests  ±0   2 803 ✅ ±0   48s ⏱️ ±0s
  186 suites ±0       1 💤 ±0 
    5 files   ±0       0 ❌ ±0 

Results for commit f3b56b2. ± Comparison against base commit b761746.

@vjeffrey
Copy link
Contributor Author

this seems to have been caused by a mismatch in code that was calling this code and updates in this codebase. with the latest of everything it works

@vjeffrey vjeffrey closed this Feb 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants