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 }