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

[Backport release-0.17] Fix panic when returning error with provider reference name #303

Merged
merged 2 commits into from
Nov 11, 2021

Conversation

github-actions[bot]
Copy link

Description

Backport of #302 to release-0.17.

Fixes a panic in the storage container controller that used the provider
reference name in the error when we are unable to get the storage
account that serves as this type's provider. The ProviderReference may
be nil in the case that the newer ProviderConfigReference is used.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
(cherry picked from commit f2a3f79)
Adds a unit test for the storage container reconciler to ensure that we
do not panic on usage of providerConfigRef when the storage account is
not found.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
(cherry picked from commit 60e6860)
@hasheddan hasheddan merged commit 5954830 into release-0.17 Nov 11, 2021
@ulucinar ulucinar deleted the backport-302-to-release-0.17 branch November 11, 2021 12:12
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.

None yet

2 participants