1
0
mirror of https://github.com/rancher/os.git synced 2025-09-14 22:20:35 +00:00

Allow services with https urls.

This commit is contained in:
Fabrizio Steiner
2017-02-15 10:13:57 +01:00
parent ebb03a8c80
commit 885e809019

View File

@@ -205,7 +205,7 @@ func isLocal(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) {