Skip to content
Snippets Groups Projects
Commit 0a30bc10 authored by Vipul Newaskar's avatar Vipul Newaskar
Browse files

allow http git repos connections while bootstrap


Updated misleading error message

Signed-off-by: default avatarVipul Newaskar <vipulnewaskar7@gmail.com>
parent a55548de
Branches
Tags
No related merge requests found
......@@ -273,7 +273,7 @@ func transportForURL(u *url.URL) (transport.AuthMethod, error) {
switch u.Scheme {
case "http":
if !gitArgs.insecureHttpAllowed {
return nil, fmt.Errorf("scheme http is not supported")
return nil, fmt.Errorf("scheme http is insecure, pass --allow-insecure-http=true to allow it")
}
return &http.BasicAuth{
Username: gitArgs.username,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment