Fixed TypeError

Fix `TypeError: Argument must be bytes or unicode, got 'int'` in nova-compute.
This commit is contained in:
Tân Lê
2021-11-19 13:37:47 +07:00
committed by GitHub
parent cd21ff0b6a
commit b4235b4edf
+2 -2
View File
@@ -658,8 +658,8 @@ class VitastorDriver(driver.CloneableImageVD,
'etcd_address': self.configuration.vitastor_etcd_address,
'etcd_prefix': self.configuration.vitastor_etcd_prefix,
'name': volume.name,
'logical_block_size': 512,
'physical_block_size': 4096,
'logical_block_size': '512',
'physical_block_size': '4096',
}
}
LOG.debug('connection data: %s', data)