mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 20:36:26 +02:00
Remove r. from namespace helper
This commit is contained in:
parent
231c325770
commit
2364ad2d93
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user