Skip to content

fix(monitoring): Update amqp API#20640

Merged
mattrobenolt merged 1 commit into
masterfrom
fix-queue-monitoring
Sep 4, 2020
Merged

fix(monitoring): Update amqp API#20640
mattrobenolt merged 1 commit into
masterfrom
fix-queue-monitoring

Conversation

@mattrobenolt

Copy link
Copy Markdown
Contributor

When switching from librabbitmq to py-amqp, the Connection API changed
slightly.

Both libraries accept the kwarg host with the form of
host=host[:port] but only librabbitmq accepted host=host, port=port.
In py-amqp the port was being lost.

So this swaps to the format that works for both.

When switching from librabbitmq to py-amqp, the Connection API changed
slightly.

Both libraries accept the kwarg `host` with the form of
`host=host[:port]` but only librabbitmq accepted `host=host, port=port`.
In py-amqp the port was being lost.

So this swaps to the format that works for both.
@mattrobenolt mattrobenolt merged commit 4c0eb1e into master Sep 4, 2020
@mattrobenolt mattrobenolt deleted the fix-queue-monitoring branch September 4, 2020 22:58
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants