Ignore empty result of rabbitmqctl list_parameters (#47021)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/47704/head
Abhijeet Kasurde 6 years ago committed by ansibot
parent a4b9af740a
commit 64171f5524

@ -82,7 +82,7 @@ class RabbitMqParameter(object):
return list()
def get(self):
parameters = self._exec(['list_parameters', '-p', self.vhost], True)
parameters = [param for param in self._exec(['list_parameters', '-p', self.vhost], True) if param.strip()]
for param_item in parameters:
component, name, value = param_item.split('\t')

Loading…
Cancel
Save