Skip to content

Commit

Permalink
Update provider.go
Browse files Browse the repository at this point in the history
  • Loading branch information
bearaujus committed Jan 13, 2025
1 parent d9dedb8 commit 17901c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/providers/maxcompute/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (p *provider) GetResources(ctx context.Context, pc *domain.ProviderConfig)
}

if slices.Contains(availableResourceTypes, resourceTypeTable) {
odpsClient, err := p.getOdpsClient(pc, "")
odpsClient, err := p.getOdpsClient(pc, credentials.RAMRole)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 17901c0

Please sign in to comment.