Commit b8f0ad25 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix silly mistake

parent a55c3324
...@@ -26,12 +26,12 @@ type AttributeIdentifier struct { ...@@ -26,12 +26,12 @@ type AttributeIdentifier struct {
func (oi objectIdentifier) Parent() string { func (oi objectIdentifier) Parent() string {
str := string(oi) str := string(oi)
return str[:strings.LastIndex(str, "/")] return str[:strings.LastIndex(str, ".")]
} }
func (oi objectIdentifier) Name() string { func (oi objectIdentifier) Name() string {
str := string(oi) str := string(oi)
return str[strings.LastIndex(str, "/")+1:] return str[strings.LastIndex(str, ".")+1:]
} }
func (oi objectIdentifier) String() string { func (oi objectIdentifier) String() string {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment