Skip to content

Commit

Permalink
COSI-79: Fix log message for IAM endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jan 21, 2025
1 parent c37885e commit 5cede06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/driver/provisioner_server_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ func initializeObjectStorageClient(ctx context.Context, clientset kubernetes.Int
case "IAM":
client, err = iamclient.InitIAMClient(ctx, *storageClientParameters)
if err != nil {
klog.ErrorS(err, "Failed to initialize IAM client", "endpoint", storageClientParameters.Endpoint)
klog.ErrorS(err, "Failed to initialize IAM client", "endpoint", storageClientParameters.IAMEndpoint)
return nil, nil, status.Error(codes.Internal, "failed to initialize IAM client")
}
klog.V(c.LvlDebug).InfoS("Successfully initialized IAM client", "endpoint", storageClientParameters.Endpoint)
klog.V(c.LvlDebug).InfoS("Successfully initialized IAM client", "endpoint", storageClientParameters.IAMEndpoint)
default:
klog.ErrorS(nil, "Unsupported object storage provider service", "service", service)
return nil, nil, status.Error(codes.Internal, "unsupported object storage provider service")
Expand Down

0 comments on commit 5cede06

Please sign in to comment.