mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
refactor(pipes): remove unused 2-arg invokeSqs overload (#718)
Following #714, the 2-arg PipesTargetInvoker.invokeSqs(arn, payload) overload became dead code; only the region-aware 3-arg version is called from invoke().
This commit is contained in:
1 parent
254990c089
commit
00082d280f
1 file changed
-6
@@ -84,12 +84,6 @@ public class PipesTargetInvoker {
|
||||
LOG.debugv("Pipe delivered to Lambda: {0}", arn);
|
||||
}
|
||||
|
||||
private void invokeSqs(String arn, String payload) {
|
||||
String queueUrl = AwsArnUtils.arnToQueueUrl(arn, baseUrl);
|
||||
sqsService.sendMessage(queueUrl, payload, 0);
|
||||
LOG.debugv("Pipe delivered to SQS: {0}", arn);
|
||||
}
|
||||
|
||||
private void invokeSqs(String arn, String payload, String region) {
|
||||
String queueUrl = AwsArnUtils.arnToQueueUrl(arn, baseUrl);
|
||||
sqsService.sendMessage(queueUrl, payload, 0, region);
|
||||
|
||||
Reference in new issue
Block a user