RamblingCookieMonster / PSRabbitMq

PowerShell module to send and receive messages from a RabbitMq server
http://ramblingcookiemonster.github.io/RabbitMQ-Intro/
MIT License
47 stars 29 forks source link

Register-RabbitMQEvent not working when not setting Creds as Param #19

Closed gaelcolas closed 7 years ago

gaelcolas commented 7 years ago

I find out that there was a breaking change in a recent commit here: https://github.com/RamblingCookieMonster/PSRabbitMq/blob/cbc019644d5282ecafb8244b5e57dc2fe7cf3e8b/PSRabbitMq/Register-RabbitMqEvent.ps1#L140-L152

When Credential is not used as parameter, $ArgList is not set.

gaelcolas commented 7 years ago

Actually, that also means the array is wrong as an element is missing.