Skip to content
Snippets Groups Projects
Commit ceee1d2d authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Merge branch 'gcp/bugfix/legal_coo-fix' into 'master'

Empty Legal_COO.json file for Legal service (GONRG-4650)

See merge request !227
parents dbc1dd4d 19d14682
No related branches found
No related tags found
2 merge requests!265Update core-lib-gcp to use universal auth token requester, refactor mappers...,!227Empty Legal_COO.json file for Legal service (GONRG-4650)
Pipeline #104321 failed
......@@ -55,6 +55,8 @@ public class StorageReaderImpl implements IStorageReader {
try {
if (storage.getBucket(getTenantBucketName(), getDestination()) == null) {
storage.createBucket(getTenantBucketName(), getDestination());
}
if (Objects.isNull(storage.getBlob(getTenantBucketName(), FILE_NAME, getDestination()))) {
Blob emptyBlob = Blob.builder()
.bucket(getTenantBucketName())
.name(FILE_NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment