Skip to content

Commit

Permalink
Fix how a host identifies if it is MariaDB (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-001 committed Dec 12, 2024
1 parent f65d408 commit 56369d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dolphie/Dolphie.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def determine_distro_and_connection_source_alt(
aad_auth_only = global_variables.get("aad_auth_only")

# Identify MariaDB and its variants
aria_in_global_variables = any("aria" in str(value).casefold() for value in global_variables.values())
aria_in_global_variables = any(variable.startswith("aria_") for variable in global_variables.keys())
if aria_in_global_variables:
if "rdsdb" in basedir:
return "Amazon RDS (MariaDB)", ConnectionSource.mariadb
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dolphie"
version = "6.7.1"
version = "6.7.2"
license = "GPL-3.0-or-later"
description = "Your single pane of glass for real-time analytics into MySQL/MariaDB & ProxySQL"
authors = ["Charles Thompson <[email protected]>"]
Expand Down

0 comments on commit 56369d8

Please sign in to comment.