From abd11cfd08430ec5f9d2c6dbd0e0f798816922d1 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 15 Jul 2025 16:43:33 +0200 Subject: all: apply linter auto fixes ./tools/syz-env bin/golangci-lint run ./... --fix --- pkg/kcidb/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/kcidb') diff --git a/pkg/kcidb/client.go b/pkg/kcidb/client.go index 1c4d53764..687386f37 100644 --- a/pkg/kcidb/client.go +++ b/pkg/kcidb/client.go @@ -178,7 +178,7 @@ func normalizeRepo(repo string) string { // and where it isn't. We know that "https:" is supported on kernel.org, // and that's the main case we need to fix up. "https:" is always used // for github.com and googlesource.com. - return strings.Replace(repo, "git://git.kernel.org", "https://git.kernel.org", -1) + return strings.ReplaceAll(repo, "git://git.kernel.org", "https://git.kernel.org") } func (c *Client) extID(id string) string { -- cgit mrf-deployment