forked from TrueCloudLab/frostfs-api-go
[#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 <carpawell@nspcc.ru>
This commit is contained in:
parent
89aede1fb3
commit
2ebb91cb4c
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ func New(opts ...Option) (Client, error) {
|
|||
}
|
||||
|
||||
return &clientImpl{
|
||||
raw: client.New(),
|
||||
opts: clientOptions,
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue