Lint fixes

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2022-09-13 22:10:34 -07:00
parent 28ea754565
commit 478f1c934d
10 changed files with 28 additions and 23 deletions

View File

@@ -45,7 +45,7 @@ func NewTransferer(client transferapi.TransferClient, sc streaming.StreamCreator
}
func (p *proxyTransferer) Transfer(ctx context.Context, src interface{}, dst interface{}, opts ...transfer.Opt) error {
o := &transfer.TransferOpts{}
o := &transfer.Config{}
for _, opt := range opts {
opt(o)
}