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

Fix attribute access on potential None type #840

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

mikewallace1979
Copy link
Contributor

Replaces the direct reference to config.azure_credential with one which is guarded against config being None.

Because resource_group was set in a similar manner the code is combined with the existing code which accessed config.resource_group.

Closes BAR-102.

Replaces the direct reference to `config.azure_credential` with one
which is guarded against `config` being `None`.

Because `resource_group` was set in a similar manner the code is
combined with the existing code which accessed `config.resource_group`.

Closes BAR-102.

Signed-off-by: Michael Wallace <[email protected]>
@edb-sonar-app
Copy link

edb-sonar-app bot commented Aug 31, 2023

@mikewallace1979 mikewallace1979 marked this pull request as ready for review August 31, 2023 08:55
@mikewallace1979 mikewallace1979 merged commit d80c0d7 into master Aug 31, 2023
9 checks passed
@mikewallace1979 mikewallace1979 deleted the bar-102-fix-config-attribute-access branch August 31, 2023 09:20
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