From dc75836c1417ec216c8c03eb78ef5bb01baacd16 Mon Sep 17 00:00:00 2001 From: Juan Vanecek Date: Mon, 29 Jul 2024 16:11:44 -0300 Subject: [PATCH] Make AmqpConnection printOn more robust to disconnections --- source/Ansible-Protocol-Core/AmqpConnection.class.st | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/Ansible-Protocol-Core/AmqpConnection.class.st b/source/Ansible-Protocol-Core/AmqpConnection.class.st index f8dcfa39..cd6b81b8 100644 --- a/source/Ansible-Protocol-Core/AmqpConnection.class.st +++ b/source/Ansible-Protocol-Core/AmqpConnection.class.st @@ -78,9 +78,8 @@ AmqpConnection >> codec [ { #category : 'accessing' } AmqpConnection >> connectionPairsDescription [ - ^ '<1s>:<2p>-><3s>:<4p>' - expandMacrosWith: socket peerName - with: socket port + ^ 'localhost:<1p>-><2s>:<3p>' + expandMacrosWith: socket port with: hostname with: portNumber ]