Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Sep 9, 2022
1 parent e52238f commit dbe8f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func TaskImport(tctx *TaskContext) (*data.TaskOutput, error) {
}}, nil
}

func getFile(ctx context.Context, osSess drivers.OSSession, params api.ImportTaskParams) (name string, size uint64, content io.ReadCloser, err error) {
func getFile(ctx context.Context, osSess drivers.OSSession, params api.UploadTaskParams) (name string, size uint64, content io.ReadCloser, err error) {
if upedObjKey := params.UploadedObjectKey; upedObjKey != "" {
// TODO: We should simply "move" the file in case of direct import since we
// know the file is already in the object store. Independently, we also have
Expand Down

0 comments on commit dbe8f2f

Please sign in to comment.