diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go index 5c4158c2aa817260aadbef12606c95c294086d5b..a0e808d9ad6f1da1b556fa3df74857826052282d 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 9bffa71aba7d250fe7da7ce66141ba434f2724cc..1d387ba66dfd694a2d68537cfcca5eec56f3d6ec 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")