Skip to content

Commit 7d40a36

Browse files
committed
Update
1 parent c3631a5 commit 7d40a36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/lfs/http_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (c *HTTPClient) transferNames() []string {
6767
return keys
6868
}
6969

70-
func (c *HTTPClient) batch(ctx context.Context, operation string, refName string, objects []Pointer) (*BatchResponse, error) {
70+
func (c *HTTPClient) batch(ctx context.Context, operation, refName string, objects []Pointer) (*BatchResponse, error) {
7171
log.Trace("BATCH operation with objects: %v", objects)
7272

7373
url := fmt.Sprintf("%s/objects/batch", c.endpoint)

modules/lfs/http_client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func TestHTTPClientDownload(t *testing.T) {
248248
},
249249
}
250250

251-
err := client.Download(context.Background(), []Pointer{p}, func(p Pointer, content io.ReadCloser, objectError error) error {
251+
err := client.Download(context.Background(), "", []Pointer{p}, func(p Pointer, content io.ReadCloser, objectError error) error {
252252
if objectError != nil {
253253
return objectError
254254
}

0 commit comments

Comments
 (0)