Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #78 from neicnordic/hotfix/passive
Browse files Browse the repository at this point in the history
Hotfix/passive
  • Loading branch information
jbygdell authored Nov 27, 2020
2 parents c06d462 + a654d34 commit 24ec4b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/functionality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
name: s3cmd
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1.1.2
- name: Set up Go 1.14
uses: actions/setup-go@v2
with:
go-version: '1.13'
go-version: '1.14'

- name: Check out source code
uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1.1.2
- name: Set up Go 1.14
uses: actions/setup-go@v2
with:
go-version: '1.13'
go-version: '1.14'

- name: Check out source code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion messenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewAMQPMessenger(c BrokerConfig, tlsConfig *tls.Config) *AMQPMessenger {
log.Fatalf("channel could not be put into confirm mode: %s", err)
}

if err = channel.ExchangeDeclare(
if err = channel.ExchangeDeclarePassive(
c.exchange, // name
"topic", // type
true, // durable
Expand Down

0 comments on commit 24ec4b2

Please sign in to comment.