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