From 3458d5a6e01e3823e312bcb4245542f74bd1e75f Mon Sep 17 00:00:00 2001 From: Anye <53684988+Anyexyz@users.noreply.github.com> Date: Mon, 30 Jun 2025 11:16:10 +0800 Subject: [PATCH] Update client.go --- inventory/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/client.go b/inventory/client.go index 208173c..7f342ab 100644 --- a/inventory/client.go +++ b/inventory/client.go @@ -52,7 +52,7 @@ func NewRawEntClient(l logging.Logger, config conf.ConfigProvider) (*ent.Client, if confDBType == conf.SQLite3DB || confDBType == "" { confDBType = conf.SQLiteDB } - if confDBType == "mariadb" { + if confDBType == conf.MariaDB { confDBType = conf.MySqlDB }