Fix components diff checking

Change-Id: Ibb65ccaff177d1fb1519b9d176c437cc8554f7f9
This commit is contained in:
Kirill Bespalov 2017-01-20 20:33:47 +03:00
parent 020786cb53
commit 3a31bca0ab
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))