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

Fix GitHub bootstrap when using custom TLS CA
pull/2120/head
Stefan Prodan 3 years ago committed by GitHub
commit 3654e221a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save