From 4cb745e70469e6c33b46d3b286085b4670f85b34 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 26 May 2026 17:08:16 +0200 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Guillaume Abrioux --- src/ceph-volume/ceph_volume/util/encryption.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/util/encryption.py b/src/ceph-volume/ceph_volume/util/encryption.py index 367f01b613c..a514ab8b331 100644 --- a/src/ceph-volume/ceph_volume/util/encryption.py +++ b/src/ceph-volume/ceph_volume/util/encryption.py @@ -72,7 +72,7 @@ def set_dmcrypt_no_workqueue(target_version: str = '2.3.4') -> None: def bypass_workqueue(device: str) -> bool: return (not BackingDeviceRotation.is_rotational(device) - and conf.dmcrypt_no_workqueue) + and bool(conf.dmcrypt_no_workqueue)) def get_key_size_from_conf(): """ -- 2.47.3