Skip to content

Commit

Permalink
oops event was wrong; was registering event creations as deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Werges committed Jun 13, 2012
1 parent 96548ca commit 3f981dd
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -1062,7 +1062,7 @@ public PutObjectResponseType putObject(PutObjectType request) throws EucalyptusC

QueueSender queueSender = QueueFactory.getInstance().getSender(QueueIdentifier.S3);

queueSender.send(new S3Event(false, size / WalrusProperties.M,
queueSender.send(new S3Event(true, size / WalrusProperties.M,
userId, userName, accountId, accountName));

} catch(Exception ex) {
Expand Down Expand Up @@ -1389,6 +1389,7 @@ public PutObjectInlineResponseType putObjectInline(


/* Send an event to reporting to report this S3 usage. */
/* SOAP */

final String userId = ctx.getUser().getUserId();
final String accountId = ctx.getAccount().getAccountNumber();
Expand Down

0 comments on commit 3f981dd

Please sign in to comment.