Fix components diff checking
Change-Id: Ibb65ccaff177d1fb1519b9d176c437cc8554f7f9
This commit is contained in:
parent
020786cb53
commit
3a31bca0ab
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue