From 24e302990a8e498de6855b7ae754ea5271197819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A7=E9=A9=8A?= Date: Thu, 26 Dec 2024 14:18:16 +0800 Subject: [PATCH] feat: fix doc-db-port --- mongo/doc-db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongo/doc-db.go b/mongo/doc-db.go index ea6d034..73fbd07 100755 --- a/mongo/doc-db.go +++ b/mongo/doc-db.go @@ -34,7 +34,7 @@ func NewDocumentDB(config *Conf, opts ...mon.Option) (DocumentDBUseCase, error) connectionStringTemplate, config.Schema, authenticationURI, - config.Host, + fmt.Sprintf("%s:%s", config.Host, config.Port), ) connectUri, _ := url.Parse(connectionURI)