Commit 7bd5b8e
committed
fix(static-route): fixes the name to guid behaviour for hyphenated names
The current logic for name_to_guid and list logic makes the assumption
that static-routes are not hyphenated. It only makes the split and only
shows the first part. Originally the idea was to get rid of the
automatically generated prefix and only work with the names. This also
is a problem because users see different behaviour on the Web UI and CLI.
This commit fixes this behaviour to make it similar to the Web UI.1 parent 5f76295 commit 7bd5b8e
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | | - | |
| 74 | + | |
| 75 | + | |
77 | 76 | | |
0 commit comments