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:
Kenshin Okinaka authored and GitHub committed 2026-05-06 17:55:49 -05:00
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);