Browse Source

Fixed TypeError

Fix `TypeError: Argument must be bytes or unicode, got 'int'` in nova-compute.
test-assert
Tân Lê 1 year ago
committed by GitHub
parent
commit
b4235b4edf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      patches/cinder-vitastor.py

4
patches/cinder-vitastor.py

@ -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)

Loading…
Cancel
Save