Fix bug with lowercasing #15

Open
Kidswiss wants to merge 1 commit from Kidswiss/bottin:fix/lowercase into main
Showing only changes of commit ae44c29fc3 - Show all commits

View file

@ -30,7 +30,9 @@ func dnToConsul(dn string) (string, error) {
rdns[i], rdns[j] = rdns[j], rdns[i]
}
return strings.Join(rdns, "/"), nil
concattedPath := strings.Join(rdns, "/")
return strings.ToLower(concattedPath), nil
}
func consulToDN(key string) (string, string, error) {