mirror of
https://github.com/rancher/rke.git
synced 2025-08-17 14:27:01 +00:00
Change cert filename to lowercase
This commit is contained in:
parent
05f08baddb
commit
2aa4d9534e
@ -259,7 +259,7 @@ func GetCrtNameForHost(host *hosts.Host, prefix string) string {
|
|||||||
} else {
|
} else {
|
||||||
newAddress = strings.Replace(host.Address, ".", "-", -1)
|
newAddress = strings.Replace(host.Address, ".", "-", -1)
|
||||||
}
|
}
|
||||||
return prefix + "-" + newAddress
|
return prefix + "-" + strings.ToLower(newAddress)
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetCertPath(name string) string {
|
func GetCertPath(name string) string {
|
||||||
|
Loading…
Reference in New Issue
Block a user