From 3a4a2002d428d92b95336cf672709ae7be3a1c4f Mon Sep 17 00:00:00 2001
From: Somtochi Onyekwere <somtochionyekwere@gmail.com>
Date: Thu, 7 Jan 2021 10:44:40 +0100
Subject: [PATCH] Corrects typo

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
---
 cmd/flux/bootstrap_github.go | 2 +-
 cmd/flux/bootstrap_gitlab.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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")
-- 
GitLab