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

[BUG] Errors from marshaling agent are not returned to user due to incorrect 'diags' handling #151

Open
BSski opened this issue Feb 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BSski
Copy link
Member

BSski commented Feb 8, 2024

Describe the bug
Diagnostics (diags) in marshalAgent func in resource_agent.go are not being correctly passed between functions, leading to errors not being returned to the user. The issue might also be present in more places - needs more investigation.

To Reproduce
Do any behavior that should result in getting an error in marshalAgent func in resource_agent.go.

Expected behavior
Errors encountered should be captured in diags and returned to the user.

System details

  • All Terraform Provider versions

Additional context
Issue added for visibility, will be taken care of.

@BSski BSski added the bug Something isn't working label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant