Commit 47863f40 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug in listing.

parent 59172ea2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ class CCServer(object):
                    logging.debug('Responses received from hypervisors.')

                    for resp in responses:
                        if resp['error'] is None:
                        if resp['error'] is None and resp['return']:
                            hy = async_calls[resp['id']]
                            for vm_tags in resp['return']:
                                vm_tags['role'] = 'vm'