Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Saartank committed Dec 10, 2024
1 parent 601f761 commit 28fb0f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/handle_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -1056,11 +1056,9 @@ func (tc *TransferClient) NewTransferJob(ctx context.Context, remoteUrl *url.URL
}
}

httpMethod := http.MethodPut
httpMethod := http.MethodGet
if upload {
httpMethod = http.MethodPut
} else {
httpMethod = http.MethodGet
}

tj.directorUrl = copyUrl.FedInfo.DirectorEndpoint
Expand Down

0 comments on commit 28fb0f2

Please sign in to comment.