8000 Run provider gRPC configure anyway by sundowndev Β· Pull Request #1139 Β· snyk/driftctl Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Run provider gRPC configure anyway #1139

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

Merged
merged 1 commit into from
Oct 18, 2021
Merged

Run provider gRPC configure anyway #1139

merged 1 commit into from
Oct 18, 2021

Conversation

sundowndev
Copy link
Contributor
@sundowndev sundowndev commented Oct 18, 2021
Q A
πŸ› Bug fix? yes
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #...
❓ Documentation no

Description

Azure provider doesn't have a provider config specified, which is fine. But the actual behavior is to not run configure grpc function when no config is specified which make resource reading failing. This PR fixes that by running the configure function anyway with a nullable provider config.

8000 @sundowndev sundowndev added the kind/bug Something isn't working label Oct 18, 2021
@sundowndev sundowndev requested a review from a team as a code owner October 18, 2021 14:08
Copy link
Contributor
@eliecharra eliecharra left a comment

Choose a reason for hiding this comment

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

Thanks for the fix πŸ™πŸ»

@codecov
Copy link
codecov bot commented Oct 18, 2021

Codecov Report

Merging #1139 (a6a5017) into main (18850b3) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1139      +/-   ##
==========================================
- Coverage   81.49%   81.48%   -0.02%     
==========================================
  Files         323      323              
  Lines       11820    11822       +2     
==========================================
  Hits         9633     9633              
- Misses       1945     1947       +2     
  Partials      242      242              
Impacted Files Coverage Ξ”
pkg/remote/terraform/provider.go 6.08% <0.00%> (-0.09%) ⬇️

@eliecharra eliecharra merged commit 91145d8 into main Oct 18, 2021
@eliecharra eliecharra deleted the fix/providerConfigure branch October 18, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0