Merge "[mariadb] Avoid using deprecated isAlive"

This commit is contained in:
Zuul 2024-11-20 04:44:35 +00:00 committed by Gerrit Code Review
commit 67ce775ca1
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()
...