Skip to content

Commit

Permalink
chore: address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Shahram Kalantari <[email protected]>
  • Loading branch information
shahramk64 committed Sep 29, 2024
1 parent 3800f31 commit 83e9788
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/common/oras/authprovider/azure/azureworkloadidentity.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ func (d *WIAuthProvider) Provide(ctx context.Context, artifact string) (provider

serverURL := "https://" + artifactHostName
// TODO: Consider adding authentication client options for multicloud scenarios
client, err := d.authClientFactory(serverURL, nil)
var options *azcontainerregistry.AuthenticationClientOptions
client, err := d.authClientFactory(serverURL, options)
if err != nil {
return provider.AuthConfig{}, re.ErrorCodeAuthDenied.NewError(re.AuthProvider, "", re.AzureWorkloadIdentityLink, err, "failed to create authentication client for container registry", re.HideStackTrace)
}
Expand Down

0 comments on commit 83e9788

Please sign in to comment.