1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 11:21:08 +00:00

Change cert filename to lowercase

This commit is contained in:
Sebastiaan van Steenis 2021-05-16 19:15:14 +02:00
parent 05f08baddb
commit 2aa4d9534e

View File

@ -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 {