diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-07-15 16:43:33 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-07-17 08:31:25 +0000 |
| commit | abd11cfd08430ec5f9d2c6dbd0e0f798816922d1 (patch) | |
| tree | 522a8cc072d07d85c8a1d37b5b3ab89483599b48 /pkg/kcidb | |
| parent | a81f309b57265e5760b926274e1f1681e7550e41 (diff) | |
all: apply linter auto fixes
./tools/syz-env bin/golangci-lint run ./... --fix
Diffstat (limited to 'pkg/kcidb')
| -rw-r--r-- | pkg/kcidb/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
