Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

Commit

Permalink
Bug fix for host=true ingest.
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Orf committed May 3, 2016
1 parent eeb3b45 commit 7dfadf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ingest/messaging/IngestWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ public Future<DataResource> run(ConsumerRecord<String, String> consumerRecord, P
S3FileStore s3FS = (S3FileStore) fileLoc;
if (!s3FS.getBucketName().equals(AMAZONS3_BUCKET_NAME)) {
ingestUtilities.copyS3Source(dataResource);
fileRep.setLocation(new S3FileStore(AMAZONS3_BUCKET_NAME, s3FS.getFileName(), s3FS
.getDomainName()));
fileRep.setLocation(new S3FileStore(AMAZONS3_BUCKET_NAME,
dataResource.getDataId() + "-" + s3FS.getFileName(), s3FS.getDomainName()));
}
break;
case FolderShare.type:
Expand Down

0 comments on commit 7dfadf0

Please sign in to comment.