Skip to content

Commit

Permalink
fix: delete redudancy variable
Browse files Browse the repository at this point in the history
  • Loading branch information
highpon committed Jan 29, 2025
1 parent df58b18 commit 435485e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/tools/cli/loadtest/service/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ func searchRequestProvider(dataset assets.Dataset) (func() *any, int, error) {
Epsilon: 0.1,
},
})
tmp := any(obj)
return &tmp
ret = &obj

Check warning on line 43 in pkg/tools/cli/loadtest/service/search.go

View check run for this annotation

Codecov / codecov/patch

pkg/tools/cli/loadtest/service/search.go#L42-L43

Added lines #L42 - L43 were not covered by tests
}
return ret
}, size, nil
Expand Down

0 comments on commit 435485e

Please sign in to comment.