Skip to content

Conversation

sethvargo
Copy link
Contributor

This adds a check similar to ErrorsOrNil that ensures the multierror pointer is not nil before returning the Errors field. I believe this is fully backwards-compatible, because the former behavior is a runtime panic.

This adds a check similar to `ErrorsOrNil` that ensures the multierror pointer is not nil before returning the Errors field. I believe this is fully backwards-compatible, because the former behavior is a runtime panic.
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 11, 2021

CLA assistant check
All committers have signed the CLA.

@mitchellh
Copy link
Contributor

This looks good to me.

@mitchellh mitchellh merged commit 9974e9e into hashicorp:master Mar 11, 2021
@sethvargo sethvargo deleted the sethvargo/npe branch March 11, 2021 20:18
This was referenced Mar 11, 2021
This was referenced Mar 12, 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.

3 participants