From 4290d8c43b86efea1098123a4a0f12e4e2960214 Mon Sep 17 00:00:00 2001 From: koryaga <5212888+koryaga@users.noreply.github.com> Date: Mon, 4 Apr 2022 15:24:30 +0300 Subject: [PATCH] MANOPD-74982 Paas check failed (#136) * fix default boolean * fixed another boolean False Co-authored-by: Sergey Kryazhe --- kubemarine/procedures/check_paas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubemarine/procedures/check_paas.py b/kubemarine/procedures/check_paas.py index c68f95eb5..4bd624b3b 100755 --- a/kubemarine/procedures/check_paas.py +++ b/kubemarine/procedures/check_paas.py @@ -826,7 +826,7 @@ def check_extra_volumes(cluster, static_pod): for volumeMount in volume_mounts: if volumeMount['mountPath'] == original_volume['mountPath'] and \ volumeMount['name'] == original_volume['name'] and \ - volumeMount.get('readOnly', '') == original_volume.get('readOnly', ''): + volumeMount.get('readOnly', False ) == original_volume.get('readOnly', False): correct_volume = True break if not correct_volume: