Skip to content

Commit

Permalink
fix: do not reuse connection for the commands (#1624)
Browse files Browse the repository at this point in the history
Tested and verified 👍
  • Loading branch information
wtrocki authored Jul 1, 2022
1 parent 727f611 commit 72169ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/shared/factory/defaultfactory/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ func New(localizer localize.Localizer) *factory.Factory {
ctx := context.Background()

connectionFunc := func(connectionCfg *connection.Config) (connection.Connection, error) {
if conn != nil {
return conn, nil
}

cfg, err := cfgFile.Load()
if err != nil {
return nil, err
Expand Down

0 comments on commit 72169ff

Please sign in to comment.