Fix bug with lowercasing #15
1 changed files with 3 additions and 1 deletions
4
util.go
4
util.go
|
@ -30,7 +30,9 @@ func dnToConsul(dn string) (string, error) {
|
||||||
rdns[i], rdns[j] = rdns[j], rdns[i]
|
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) {
|
func consulToDN(key string) (string, string, error) {
|
||||||
|
|
Loading…
Reference in a new issue