mirror of
https://github.com/rancher/os.git
synced 2025-08-28 19:21:42 +00:00
Merge pull request #1608 from stffabi/AllowServicesWithHttpsUrls
Allow services with https urls.
This commit is contained in:
commit
752bec258d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user