kopia lustrzana https://github.com/jortage/poolmgr
Catch unsupported setBlobAccess
rodzic
282b10eede
commit
9f6d95ce4a
|
@ -10,7 +10,7 @@ repositories {
|
|||
|
||||
base {
|
||||
archivesName = 'jortage-poolmgr'
|
||||
version = '1.5.4'
|
||||
version = '1.5.5'
|
||||
}
|
||||
|
||||
compileJava {
|
||||
|
|
|
@ -328,7 +328,9 @@ public class JortageBlobStore extends ForwardingBlobStore {
|
|||
Thread.sleep(100);
|
||||
etag = delegate().copyBlob(mpu.containerName(), mpu.blobName(), bucket, path, CopyOptions.builder().contentMetadata(meta.getContentMetadata()).build());
|
||||
Thread.sleep(100);
|
||||
try {
|
||||
delegate().setBlobAccess(bucket, path, BlobAccess.PUBLIC_READ);
|
||||
} catch (UnsupportedOperationException ignore) {}
|
||||
Queries.putPendingBackup(dataSource, hash);
|
||||
} else {
|
||||
Thread.sleep(100);
|
||||
|
|
Ładowanie…
Reference in New Issue