Fix undefined variable in libcloud dyn inv script

References #27193
pull/27215/head
Toshio Kuratomi 7 years ago
parent be1c517f4d
commit edccfd5908

@ -248,8 +248,7 @@ class LibcloudInventory(object):
node = self.get_node(node_id) node = self.get_node(node_id)
instance_vars = {} instance_vars = {}
for key in vars(instance): for key, value in vars(node).items():
value = getattr(instance, key)
key = self.to_safe('ec2_' + key) key = self.to_safe('ec2_' + key)
# Handle complex types # Handle complex types

Loading…
Cancel
Save