From 0c3e94c7990d03396c2fd9ba882a901940caa41e Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 9 Nov 2024 13:21:24 +0100 Subject: [PATCH] fix(clustertool): correct build typo --- clustertool/pkg/initfiles/initfiles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clustertool/pkg/initfiles/initfiles.go b/clustertool/pkg/initfiles/initfiles.go index d8b0b10c7c9c..6175ae02f1ab 100644 --- a/clustertool/pkg/initfiles/initfiles.go +++ b/clustertool/pkg/initfiles/initfiles.go @@ -126,7 +126,7 @@ func FormatGitURL(input string) string { input = strings.Replace(input, "ssh://", "ssh://git@", 1) } - if strings.Contains(url, "git@git@") { + if strings.Contains(input, "git@git@") { input = strings.Replace(input, "git@git@", "git@", 1) }