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 79cf4ba commit 0198ebf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/mssql/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()))

Check failure on line 87 in clients/mssql/store.go

View workflow job for this annotation

GitHub Actions / test

the argument is already a string, there's no need to use fmt.Sprintf (S1025)
if err != nil {
return nil, err
}
Expand Down
4 changes: 2 additions & 2 deletions lib/debezium/converters/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0198ebf

Please sign in to comment.