Fixed TypeError

Fix `TypeError: Argument must be bytes or unicode, got 'int'` in nova-compute.
master
Tân Lê 2021-11-19 13:37:47 +07:00 committed by GitHub
parent cd21ff0b6a
commit b4235b4edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -658,8 +658,8 @@ class VitastorDriver(driver.CloneableImageVD,
'etcd_address': self.configuration.vitastor_etcd_address, 'etcd_address': self.configuration.vitastor_etcd_address,
'etcd_prefix': self.configuration.vitastor_etcd_prefix, 'etcd_prefix': self.configuration.vitastor_etcd_prefix,
'name': volume.name, 'name': volume.name,
'logical_block_size': 512, 'logical_block_size': '512',
'physical_block_size': 4096, 'physical_block_size': '4096',
} }
} }
LOG.debug('connection data: %s', data) LOG.debug('connection data: %s', data)