From: Guillaume Abrioux Date: Tue, 26 May 2026 15:08:16 +0000 (+0200) Subject: Potential fix for pull request finding X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fcopilot%2Ffix-review-comments;p=ceph.git 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 --- diff --git a/src/ceph-volume/ceph_volume/util/encryption.py b/src/ceph-volume/ceph_volume/util/encryption.py index 367f01b613c2..a514ab8b3318 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(): """