[mariadb] Avoid using deprecated isAlive

The method was deprecated and later dropped, switch to is_alive()

Co-Authored-By: dbiletskiy <dbiletskiy@mirantis.com>

Change-Id: Ie259d0e59c68c9884e85025b1e44bcd347f45eff
This commit is contained in:
Vasyl Saienko 2024-11-18 07:39:22 +00:00
parent 174f6f5bd5
commit f0ad9daa5a
3 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v10.6.7
description: OpenStack-Helm MariaDB
name: mariadb
version: 0.2.60
version: 0.2.61
home: https://mariadb.com/kb/en/
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
sources:

View File

@ -784,7 +784,7 @@ monitor_cluster_thread.daemon = True
def launch_cluster_monitor():
"""Launch grastate configmap updating thread"""
if not monitor_cluster_thread.isAlive():
if not monitor_cluster_thread.is_alive():
monitor_cluster_thread.start()
@ -808,7 +808,7 @@ leader_election_thread.daemon = True
def launch_leader_election():
"""Launch leader election thread"""
if not leader_election_thread.isAlive():
if not leader_election_thread.is_alive():
leader_election_thread.start()

View File

@ -76,4 +76,5 @@ mariadb:
- 0.2.58 Prevent TypeError in get_active_endpoint function
- 0.2.59 Give more time on resolving configmap update conflicts
- 0.2.60 Refactor liveness/readiness probes
- 0.2.61 Avoid using deprecated isAlive()
...