mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Remove r. from namespace helper
This commit is contained in:
@@ -114,10 +114,6 @@ func SplitIDFromString(input string) (string, string) {
|
||||
prefix = "s."
|
||||
input = input[2:]
|
||||
|
||||
case strings.HasPrefix(input, "r."):
|
||||
prefix = "r."
|
||||
input = input[2:]
|
||||
|
||||
case slashIdx > 0:
|
||||
// Leases will never have a b./s. to start
|
||||
if slashIdx == len(input)-1 {
|
||||
|
||||
Reference in New Issue
Block a user