[#425] Adapt the Client's refactoring to the interface

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-03-17 14:34:59 +03:00 committed by Alex Vanin
parent b62a2a0f54
commit 383d2494eb
9 changed files with 12 additions and 12 deletions

View file

@ -229,7 +229,7 @@ func (r *remoteLoadAnnounceProvider) InitRemote(srv loadroute.ServerInfo) (loadc
}
type remoteLoadAnnounceWriterProvider struct {
client *apiClient.Client
client apiClient.Client
key *ecdsa.PrivateKey
}
@ -244,7 +244,7 @@ func (p *remoteLoadAnnounceWriterProvider) InitWriter(ctx context.Context) (load
type remoteLoadAnnounceWriter struct {
ctx context.Context
client *apiClient.Client
client apiClient.Client
key *ecdsa.PrivateKey
buf []containerSDK.UsedSpaceAnnouncement