storage: minor error handling fix

This commit is contained in:
Marek Marczykowski-Górecki 2017-05-23 23:28:13 +02:00
parent 6c29c653a0
commit d7af67d875
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -215,7 +215,7 @@ class Storage(object):
def init_volume(self, name, volume_config):
''' Initialize Volume instance attached to this domain '''
assert 'pool' in volume_config, "Pool missing in volume_config" % str(
assert 'pool' in volume_config, "Pool missing in volume_config " + str(
volume_config)
if 'name' not in volume_config: