From 057573223ce2a354561c65e946ad14dacb7df030 Mon Sep 17 00:00:00 2001 From: Nikhil A M <100134503+nikhil1697@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:39:03 +0530 Subject: [PATCH] Update strong_ciphers_patch.py --- kubemarine/patches/strong_ciphers_patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubemarine/patches/strong_ciphers_patch.py b/kubemarine/patches/strong_ciphers_patch.py index b1f66ea9c..c46c0f0bc 100644 --- a/kubemarine/patches/strong_ciphers_patch.py +++ b/kubemarine/patches/strong_ciphers_patch.py @@ -64,7 +64,7 @@ def run(self, res: DynamicResources) -> None: else: cluster.log.error("API server restart failed.") - def verify_apiserver_restart(self, member_node, res): + def verify_apiserver_restart(self, member_node, res: DynamicResources) -> bool: # Implement logic to check API server restart status cluster = res.cluster() restart_successful = False @@ -109,4 +109,4 @@ def description(self) -> str: Patch to update the API server TLS cipher suites. """.rstrip() ) - \ No newline at end of file +