Skip to content

Commit

Permalink
Fixed Duplicate Client-token issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mskanth972 committed Aug 5, 2024
1 parent 2c80cae commit 40b443f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest)
return nil, status.Error(codes.InvalidArgument, "Invalid value for reuseAccessPoint parameter")
}
if reuseAccessPoint {
clientToken = get64LenHash(volumeParams[PvcNameKey])
clientToken = get64LenHash(volumeParams[PvcNameKey] + volumeParams[FsId])
klog.V(5).Infof("Client token : %s", clientToken)
}
}
Expand Down

0 comments on commit 40b443f

Please sign in to comment.