Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Return an error if resp and err are nil #617

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

jhendrixMSFT
Copy link
Member

This will allow retry logic to kick in and also avoid up-stream panics
due to both the response and the error being nil.

Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.

As part of submitting, please make sure you can make the following assertions:

  • I've tested my changes, adding unit tests if applicable.
  • I've added Apache 2.0 Headers to the top of any new source files.

This will allow retry logic to kick in and also avoid up-stream panics
due to both the response and the error being nil.
@jhendrixMSFT jhendrixMSFT merged commit 79a63e7 into Azure:master Feb 10, 2021
@jhendrixMSFT jhendrixMSFT deleted the adal_resp branch February 10, 2021 15:59
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