1
0
mirror of https://github.com/rancher/os.git synced 2025-08-29 11:34:42 +00:00

Merge pull request #1608 from stffabi/AllowServicesWithHttpsUrls

Allow services with https urls.
This commit is contained in:
Josh Curl 2017-02-15 15:22:10 -08:00 committed by GitHub
commit 752bec258d

View File

@ -205,7 +205,7 @@ func isLocal(service string) bool {
} }
func IsLocalOrURL(service string) bool { func IsLocalOrURL(service string) bool {
return isLocal(service) || strings.HasPrefix(service, "http:/") || strings.HasPrefix(service, "http:/") return isLocal(service) || strings.HasPrefix(service, "http:/") || strings.HasPrefix(service, "https:/")
} }
func validateService(service string, cfg *config.CloudConfig) { func validateService(service string, cfg *config.CloudConfig) {