Skip to content

Commit 8cd8c8b

Browse files
committed
Core: linter fix
Signed-off-by: Andy Lo-A-Foe <andy.loafoe@gmail.com>
1 parent f4e6596 commit 8cd8c8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/services/connect/mdm/resource_connect_mdm_oauth_client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ func setScopes(client *mdm.Client, iamClient *iam.Client, d *schema.ResourceData
244244
bootstrapIamDefaultScopes := tools.ExpandStringList(d.Get("bootstrap_client_iam_default_scopes").(*schema.Set).List())
245245

246246
if resource.BootstrapClientGuid != nil {
247-
bootstrapIamResource, _, err := iamClient.Clients.GetClientByID(resource.BootstrapClientGuid.Value)
248-
if err != nil {
249-
return fmt.Errorf("get IAM OAuth bootstrap client: %v", err)
247+
bootstrapIamResource, _, intErr := iamClient.Clients.GetClientByID(resource.BootstrapClientGuid.Value)
248+
if intErr != nil {
249+
return fmt.Errorf("get IAM OAuth bootstrap client: %v", intErr)
250250
}
251251

252252
// Merge MDM scopes and IAM scopes

0 commit comments

Comments
 (0)