Skip to content

Commit c502ca0

Browse files
author
Mateusz
committed
Fix Ollama integration lint
1 parent 67a330b commit c502ca0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

internal/plugins/backends/ollama/integration_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ func testCandidate(model string) routing.AttemptCandidate {
2222
return routing.AttemptCandidate{Primary: routing.Primary{Model: model}}
2323
}
2424

25-
func boolPtr(v bool) *bool { return &v }
26-
2725
func testCall(ext map[string]json.RawMessage) lipapi.Call {
2826
return lipapi.Call{
2927
Messages: []lipapi.Message{{
@@ -560,8 +558,8 @@ func TestIntegration_cloudInventoryAdvertisesWithoutCloudSuffix(t *testing.T) {
560558
HTTPClient: srv.Client(),
561559
Discovery: ollama.DiscoveryConfig{
562560
CloudURL: cloud.URL,
563-
Catalog: boolPtr(false),
564-
Capabilities: boolPtr(false),
561+
Catalog: new(false),
562+
Capabilities: new(false),
565563
},
566564
})
567565

0 commit comments

Comments
 (0)