Merge "Fix components diff checking"

This commit is contained in:
Jenkins 2017-01-23 09:04:24 +00:00 committed by Gerrit Code Review
commit cbfd8bf89b
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ def deploy_components(components_map, components):
components = set(topology.keys()) & set(components_map.keys())
else:
diff = components - set(topology.keys())
if not diff:
if diff:
raise ValueError('The next components are not '
'defined in topology: %s' % list(diff))