From 07e167abba9b347a8b11154b0ccc9dff7a8e3278 Mon Sep 17 00:00:00 2001 From: bpeng Date: Fri, 20 Dec 2024 09:23:43 +1300 Subject: [PATCH] temporarily drop checkQueue to allow merge safely --- cmd/fdsn-holdings-consumer/main.go | 6 +++--- cmd/fdsn-quake-consumer/main.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/fdsn-holdings-consumer/main.go b/cmd/fdsn-holdings-consumer/main.go index bd5e9a0..def3f45 100644 --- a/cmd/fdsn-holdings-consumer/main.go +++ b/cmd/fdsn-holdings-consumer/main.go @@ -62,9 +62,9 @@ func initAwsClient() { if err != nil { log.Fatalf("error creating SQS client: %s", err) } - if err = sqsClient.CheckQueue(queueURL); err != nil { - log.Fatalf("error checking queueURL %s: %s", queueURL, err.Error()) - } + // if err = sqsClient.CheckQueue(queueURL); err != nil { + // log.Fatalf("error checking queueURL %s: %s", queueURL, err.Error()) + // } s3Client, err = s3.NewWithMaxRetries(3) if err != nil { diff --git a/cmd/fdsn-quake-consumer/main.go b/cmd/fdsn-quake-consumer/main.go index 9a42a12..a815298 100644 --- a/cmd/fdsn-quake-consumer/main.go +++ b/cmd/fdsn-quake-consumer/main.go @@ -60,9 +60,9 @@ func initAwsClients() { if err != nil { log.Fatalf("creating SQS client: %s", err) } - if err = sqsClient.CheckQueue(queueURL); err != nil { - log.Fatalf("error checking queueURL %s: %s", queueURL, err.Error()) - } + // if err = sqsClient.CheckQueue(queueURL); err != nil { + // log.Fatalf("error checking queueURL %s: %s", queueURL, err.Error()) + // } } func main() {