mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Ignore empty result of rabbitmqctl list_parameters (#47021)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
a4b9af740a
commit
64171f5524
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue