Remove r. from namespace helper

This commit is contained in:
Jeff Mitchell
2018-10-16 15:15:36 -04:00
parent 231c325770
commit 2364ad2d93

View File

@@ -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 {