aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/kcidb/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/kcidb/client.go')
-rw-r--r--pkg/kcidb/client.go2
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 {