-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add support for subscriptionID on AzureSQL types #2910
Add support for subscriptionID on AzureSQL types #2910
Conversation
1f632a1
to
f162fb6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit of pedantry in a couple of comments, nothing else.
@@ -62,8 +68,14 @@ func (m *AzureSqlFailoverGroupManager) GetDB(ctx context.Context, resourceGroupN | |||
|
|||
// TODO: Delete this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be actioned or deleted in this PR?
@@ -48,8 +48,8 @@ func NewAzureSqlUserManager(creds config.Credentials, secretClient secrets.Secre | |||
} | |||
|
|||
// GetDB retrieves a database | |||
func (m *AzureSqlUserManager) GetDB(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (azuresql.Database, error) { | |||
dbClient, err := azuresqlshared.GetGoDbClient(m.Creds) | |||
func (m *AzureSqlUserManager) GetDB(ctx context.Context, subscriptionID string, resourceGroupName string, serverName string, databaseName string) (azuresql.Database, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe format these parameters one per line too?
/ok-to-test sha=c425ca6 |
Codecov Report
@@ Coverage Diff @@
## main #2910 +/- ##
=======================================
Coverage 54.36% 54.36%
=======================================
Files 1271 1271
Lines 553508 553508
=======================================
+ Hits 300889 300906 +17
+ Misses 203406 203394 -12
+ Partials 49213 49208 -5 |
/ok-to-test sha=d093692 |
If applicable: