Skip to content

Commit

Permalink
fix ds-load connection closed (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
gertd authored May 13, 2024
1 parent fa5e208 commit 9c7e411
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cli/pkg/clients/directory_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func NewDirectoryV2ImportClient(ctx context.Context, cfg *Config) (dsiv2.Importe
if err != nil {
return nil, err
}
defer func() { _ = conn.Close() }()

return dsiv2.NewImporterClient(conn), nil
}
Expand Down Expand Up @@ -81,7 +80,6 @@ func NewDirectoryV3ImportClient(ctx context.Context, cfg *Config) (dsiv3.Importe
if err != nil {
return nil, err
}
defer func() { _ = conn.Close() }()

return dsiv3.NewImporterClient(conn), nil
}
Expand Down

0 comments on commit 9c7e411

Please sign in to comment.