fix: use explicit arguments for rabbitmqadmin commands

If the password starts with a dash, the character after the dash gets interpreted as an argument.

Error message example:

I have no name!@nova-waveforceone-nova-cell1-mq-0:/$ rabbitmqadmin -u "$RABBITMQ_DEFAULT_USER" -p "$RABBITMQ_DEFAULT_PASS" declare queue --name "qq-test" --type "quorum" --durable true --auto-delete false
error: unexpected argument '-I' found

Usage: rabbitmqadmin [OPTIONS] <COMMAND>

For more information, try '--help'.
Edited by Gökhan Kocak

Merge request reports

Loading