Skip to content

Commit 9f60c07

Browse files
committed
fix(seawolf): remove unnecessary connection close
1 parent 4b6e49f commit 9f60c07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

v1/seawolf.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ func New(address string, opts ...Option) *SeaWolf {
2828
if err != nil {
2929
panic(err)
3030
}
31-
defer conn.Close()
3231
client := filer_pb.NewSeaweedFilerClient(conn)
3332

3433
wolf := &SeaWolf{

0 commit comments

Comments
 (0)