From 4ef965c955eeb82893798ff31a4086bea768cded Mon Sep 17 00:00:00 2001 From: Andrii Bosonchenko Date: Sat, 30 Jul 2022 18:40:02 +0200 Subject: [PATCH] updated README, releases (#3) --- .github/workflows/release.yaml | 6 ++---- README.md | 8 +++++++- internal/wrappers/aws/sqs.go | 4 ---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6a89a3d..d0ee680 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,12 +8,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 + # build and publish in parallel: linux/amd64, linux/arm64, windows/amd64, darwin/amd64, darwin/arm64 goos: [linux, windows, darwin] - goarch: ["386", amd64, arm64] + goarch: [amd64, arm64] exclude: - - goarch: "386" - goos: darwin - goarch: arm64 goos: windows steps: diff --git a/README.md b/README.md index c3ba515..aa5687f 100644 --- a/README.md +++ b/README.md @@ -33,4 +33,10 @@ GLOBAL OPTIONS: ```shell make all -``` \ No newline at end of file +``` + +### See also + + * https://github.com/mercury2269/sqsmover + * https://github.com/prashanthpai/sqscat + * https://github.com/farbodsalimi/go-sqs-wrapper \ No newline at end of file diff --git a/internal/wrappers/aws/sqs.go b/internal/wrappers/aws/sqs.go index 99f57eb..b7205f4 100644 --- a/internal/wrappers/aws/sqs.go +++ b/internal/wrappers/aws/sqs.go @@ -73,10 +73,6 @@ func NewSQSPoller(params SQSParam) (SQSPoller, error) { return nil, errors.Wrap(err, "error getting total number of messages from AWS SQS queue URL") } - if s.stopOnTotal && s.totalMessages == 0 { - return s, nil - } - return s, nil }