We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c956b1c commit d9a8998Copy full SHA for d9a8998
1 file changed
linode_api4/objects/linode.py
@@ -1262,7 +1262,12 @@ def config_create(
1262
1263
hypervisor_prefix = "sd" if self.hypervisor == "kvm" else "xvd"
1264
1265
- device_limit = int(max(MIN_DEVICE_LIMIT, min(self.specs.memory // MEMORY_DIVISOR, MAX_DEVICE_LIMIT)))
+ device_limit = int(
1266
+ max(
1267
+ MIN_DEVICE_LIMIT,
1268
+ min(self.specs.memory // MEMORY_DIVISOR, MAX_DEVICE_LIMIT),
1269
+ )
1270
1271
1272
device_names = [
1273
hypervisor_prefix + suffix
0 commit comments