From 66effaed9e99b48255e1a0bc2373d2fa645919b3 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 28 Apr 2020 02:05:32 -0700 Subject: [PATCH] fix compilation --- weed/messaging/client/client.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/weed/messaging/client/client.go b/weed/messaging/client/client.go index 910fd02e9..4a674a9fc 100644 --- a/weed/messaging/client/client.go +++ b/weed/messaging/client/client.go @@ -23,10 +23,6 @@ func NewMessagingClient(bootstrapBrokers []string) (*MessagingClient, error) { return nil, err } - util.OnInterrupt(func() { - grpcConnection.Close() - }) - return &MessagingClient{ bootstrapBrokers: bootstrapBrokers, grpcConnection: grpcConnection,