diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go index c7e821ef..f2775da9 100644 --- a/cmd/flux/bootstrap_github.go +++ b/cmd/flux/bootstrap_github.go @@ -141,7 +141,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error { defer os.RemoveAll(manifestsBase) var caBundle []byte - if bootstrapArgs.caFile != " " { + if bootstrapArgs.caFile != "" { var err error caBundle, err = os.ReadFile(bootstrapArgs.caFile) if err != nil {