diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go index 5c4158c2..a0e808d9 100644 --- a/cmd/flux/bootstrap_github.go +++ b/cmd/flux/bootstrap_github.go @@ -126,7 +126,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error { usedPath, bootstrapPathDiffers := checkIfBootstrapPathDiffers(ctx, kubeClient, namespace, filepath.ToSlash(ghPath.String())) if bootstrapPathDiffers { - return fmt.Errorf("cluster already bootstrapped to a %v path", usedPath) + return fmt.Errorf("cluster already bootstrapped to %v path", usedPath) } repository, err := git.NewRepository(ghRepository, ghOwner, ghHostname, ghToken, "flux", ghOwner+"@users.noreply.github.com") diff --git a/cmd/flux/bootstrap_gitlab.go b/cmd/flux/bootstrap_gitlab.go index 9bffa71a..1d387ba6 100644 --- a/cmd/flux/bootstrap_gitlab.go +++ b/cmd/flux/bootstrap_gitlab.go @@ -126,7 +126,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error { usedPath, bootstrapPathDiffers := checkIfBootstrapPathDiffers(ctx, kubeClient, namespace, filepath.ToSlash(glPath.String())) if bootstrapPathDiffers { - return fmt.Errorf("cluster already bootstrapped to a %v path", usedPath) + return fmt.Errorf("cluster already bootstrapped to %v path", usedPath) } repository, err := git.NewRepository(glRepository, glOwner, glHostname, glToken, "flux", glOwner+"@users.noreply.gitlab.com")