Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Dec 22, 2021
1 parent 7c9f512 commit 49f15a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/runners/policies/instance-ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
}
}
]
}
}
4 changes: 2 additions & 2 deletions modules/webhook/lambdas/webhook/src/sqs/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SQS } from 'aws-sdk';
import { logger as logger } from '../webhook/logger';
import { LogFields, logger as logger } from '../webhook/logger';

export interface ActionRequestMessage {
id: number;
Expand All @@ -20,7 +20,7 @@ export const sendActionRequest = async (message: ActionRequestMessage): Promise<
MessageBody: JSON.stringify(message),
};

logger.debug(`sending message to SQS: ${JSON.stringify(sqsMessage)}`);
logger.debug(`sending message to SQS: ${JSON.stringify(sqsMessage)}`, LogFields.print());
if (useFifoQueue) {
sqsMessage.MessageGroupId = String(message.id);
}
Expand Down

0 comments on commit 49f15a0

Please sign in to comment.