Skip to content

Commit

Permalink
Fixup missed linter items
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Aug 7, 2024
1 parent 412eeb8 commit 0cfcc46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
20 changes: 10 additions & 10 deletions client/handle_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -1101,16 +1101,16 @@ func (tc *TransferClient) NewTransferJob(ctx context.Context, remoteUrl *url.URL
copyUrl := *remoteUrl // Make a copy of the input URL to avoid concurrent issues.
tj = &TransferJob{
prefObjServers: tc.prefObjServers,
recursive: recursive,
localPath: localPath,
remoteURL: &copyUrl,
callback: tc.callback,
skipAcquire: tc.skipAcquire,
tokenLocation: tc.tokenLocation,
upload: upload,
uuid: id,
token: tc.token,
project: project,
recursive: recursive,
localPath: localPath,
remoteURL: &copyUrl,
callback: tc.callback,
skipAcquire: tc.skipAcquire,
tokenLocation: tc.tokenLocation,
upload: upload,
uuid: id,
token: tc.token,
project: project,
}

mergeCancel := func(ctx1, ctx2 context.Context) (context.Context, context.CancelFunc) {
Expand Down
1 change: 0 additions & 1 deletion client/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ func TestGenerateSortedObjectServers(t *testing.T) {
{Scheme: "https", Host: "preferred1.com", Path: "/foo"},
{Scheme: "", Host: "", Path: "+"},
{Scheme: "https", Host: "preferred2.com", Path: "/foo"},

}
_, err := generateSortedObjServers(dirResp, preferredOServers)
assert.Error(t, err)
Expand Down

0 comments on commit 0cfcc46

Please sign in to comment.