You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check if user only provided HTTP proxy but not HTTPS proxy
105
+
ifhttpProxy!=""&&httpsProxy=="" {
106
+
message:="Typically if `http_proxy` is set, `https_proxy` should be set too. Installation failures are likely otherwise. Do you want to continue anyway?"
107
+
confirmed, err:=prompt.Confirm(message, false)
108
+
iferr!=nil {
109
+
returnnil, fmt.Errorf("failed to confirm proxy settings: %w", err)
110
+
}
111
+
if!confirmed {
112
+
returnnil, NewErrorNothingElseToAdd(errors.New("user aborted: HTTP proxy configured without HTTPS proxy"))
113
+
}
114
+
}
115
+
116
+
logrus.Debug("User confirmed prompt to proceed installing with `http_proxy` set and `https_proxy` unset")
0 commit comments