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: Do not panic on fault.In for valid errs #3594

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

akutz
Copy link
Member

@akutz akutz commented Oct 15, 2024

Description

This patch prevents fault.In from panic'ing if a valid error is sent into the function.

Closes: NA

How Has This Been Tested?

go test -v -count 1 -cover ./fault
...
PASS
coverage: 100.0% of statements
ok  	github.com/vmware/govmomi/fault	0.284s	coverage: 100.0% of statements

Guidelines

Please read and follow the CONTRIBUTION guidelines of this project.

This patch prevents fault.In from panic'ing if a valid
error is sent into the function.
Copy link
Member

@dougm dougm left a comment

Choose a reason for hiding this comment

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

Thanks @akutz

@akutz akutz merged commit cd4331e into vmware:main Oct 15, 2024
10 checks passed
@akutz akutz deleted the bugfix/fault-in-panic branch October 15, 2024 18:17
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