恢复为同步模式
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b3976783df
commit
80378a23f7
|
|
@ -551,9 +551,9 @@ public class OSSService : IOSSService
|
||||||
var args = new GetObjectArgs()
|
var args = new GetObjectArgs()
|
||||||
.WithBucket(minIOConfig.BucketName)
|
.WithBucket(minIOConfig.BucketName)
|
||||||
.WithObject(ossRelativePath)
|
.WithObject(ossRelativePath)
|
||||||
.WithCallbackStream(async stream =>
|
.WithCallbackStream( stream =>
|
||||||
{
|
{
|
||||||
await stream.CopyToAsync(pipe.Writer.AsStream());
|
stream.CopyTo(pipe.Writer.AsStream());
|
||||||
});
|
});
|
||||||
|
|
||||||
await minioClient.GetObjectAsync(args);
|
await minioClient.GetObjectAsync(args);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue