From 0198ebff9104b8a97938cd53394b1dfe9821a166 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Fri, 22 Nov 2024 14:05:00 -0800 Subject: [PATCH] CLean. --- clients/mssql/store.go | 2 +- lib/debezium/converters/basic_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/mssql/store.go b/clients/mssql/store.go index 72d220c6..00af5f3b 100644 --- a/clients/mssql/store.go +++ b/clients/mssql/store.go @@ -84,7 +84,7 @@ func (s *Store) GetTableConfig(tableData *optimization.TableData) (*types.DwhTab } func LoadStore(cfg config.Config) (*Store, error) { - store, err := db.Open("mssql", fmt.Sprintf("%s&encrypt=disable", cfg.MSSQL.DSN())) + store, err := db.Open("mssql", fmt.Sprintf("%s", cfg.MSSQL.DSN())) if err != nil { return nil, err } diff --git a/lib/debezium/converters/basic_test.go b/lib/debezium/converters/basic_test.go index 6747b7e5..941befe0 100644 --- a/lib/debezium/converters/basic_test.go +++ b/lib/debezium/converters/basic_test.go @@ -3,9 +3,9 @@ package converters import ( "testing" - "github.com/artie-labs/transfer/lib/config/constants" - "github.com/stretchr/testify/assert" + + "github.com/artie-labs/transfer/lib/config/constants" ) func TestJSON_Convert(t *testing.T) {