Fixed syntax, oops
This commit is contained in:
parent
311022f35e
commit
28b1068d7d
@ -546,7 +546,7 @@ class NovaConfConfigurator(object):
|
||||
raise exceptions.ConfigException(msg)
|
||||
elif drive_canon == 'libvirt':
|
||||
flat_interface = self._getstr('flat_interface')
|
||||
if flat_interface and not utils.is_interface(flat_interface:
|
||||
if flat_interface and not utils.is_interface(flat_interface):
|
||||
msg = "Libvirt flat interface %s is not a known interface" % (flat_interface)
|
||||
raise exceptions.ConfigException(msg)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user