The config file in SFC using this library was providing an integer
whereas FUEL was providing a string.
e.g. we were comparing 5 with '5' and thus the return was false
Change-Id: I04c27403d479c45acd102a3dde848ba5b2427a10
Signed-off-by: “Manuel Buil” <mbuil@suse.com>
if options and options['cluster'] and len(self.nodes) > 0:
n = []
for node in self.nodes:
if options and options['cluster'] and len(self.nodes) > 0:
n = []
for node in self.nodes:
- if node.info['cluster'] == options['cluster']:
+ if str(node.info['cluster']) == str(options['cluster']):