1
0
mirror of synced 2026-03-18 00:46:56 +00:00

Merge pull request #2123 from SomtochiAma/gitlab-custom-ca

Fix GitHub bootstrap when using custom TLS CA
This commit is contained in:
Stefan Prodan
2021-11-23 17:31:56 +02:00
committed by GitHub

View File

@@ -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 {