mirror of
https://github.com/rancher/rke.git
synced 2025-09-18 16:36:41 +00:00
Merge pull request #2539 from superseb/lowercase_hostname
Change cert filename to lowercase
This commit is contained in:
@@ -259,7 +259,7 @@ func GetCrtNameForHost(host *hosts.Host, prefix string) string {
|
||||
} else {
|
||||
newAddress = strings.Replace(host.Address, ".", "-", -1)
|
||||
}
|
||||
return prefix + "-" + newAddress
|
||||
return prefix + "-" + strings.ToLower(newAddress)
|
||||
}
|
||||
|
||||
func GetCertPath(name string) string {
|
||||
|
Reference in New Issue
Block a user