Skip to content

Commit

Permalink
CLean.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Nov 22, 2024
1 parent 0198ebf commit 82f6d02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/mssql/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package mssql

import (
"context"
"fmt"
"strings"

_ "github.com/microsoft/go-mssqldb"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 82f6d02

Please sign in to comment.