From 82f6d025687f87267c5ad40e6094c7454cba9ac7 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Fri, 22 Nov 2024 14:05:49 -0800 Subject: [PATCH] CLean. --- clients/mssql/store.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/mssql/store.go b/clients/mssql/store.go index 00af5f3ba..ebdd0e330 100644 --- a/clients/mssql/store.go +++ b/clients/mssql/store.go @@ -2,7 +2,6 @@ package mssql import ( "context" - "fmt" "strings" _ "github.com/microsoft/go-mssqldb" @@ -84,7 +83,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", cfg.MSSQL.DSN())) + store, err := db.Open("mssql", cfg.MSSQL.DSN()) if err != nil { return nil, err }