Skip to content

Commit

Permalink
Fix: attribute prefix (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Jul 27, 2020
1 parent 54da545 commit 31595ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func parseAttribute(attr string) (*router.Domain_Attribute, error) {
return &attribute, errors.New("invalid attribute: " + attr)
}

attr = attr[0:]
attr = attr[1:]
parts := strings.Split(attr, "=")
if len(parts) == 1 {
attribute.Key = strings.ToLower(parts[0])
Expand Down

0 comments on commit 31595ff

Please sign in to comment.