From 2ebb91cb4cedf08555cdff59a7bf16bd9624c0a4 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Mon, 24 May 2021 16:38:37 +0300 Subject: [PATCH] [#286] client: Delete useless raw client init Since raw client initialization is postponed until the first `Raw()` function call, there is no need to init empty( without options) raw client in constructor. Signed-off-by: Pavel Karpy --- pkg/client/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/client/client.go b/pkg/client/client.go index 20b88b36..8fe4d1e0 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -35,7 +35,6 @@ func New(opts ...Option) (Client, error) { } return &clientImpl{ - raw: client.New(), opts: clientOptions, }, nil }