We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b7a5a commit 23d6ae0Copy full SHA for 23d6ae0
1 file changed
pkg/contexts/contexts.go
@@ -38,10 +38,8 @@ type CRE struct {
38
39
// Normalized returns a possibly modified CRE with normalized values.
40
func (c CRE) Normalized() CRE {
41
- c.Org = strings.TrimPrefix(c.Org, "org_")
42
- // not hex like the others, so don't look for 0x or change case
+ // don't manipulate Org
43
44
- c.Owner = strings.TrimPrefix(c.Owner, "owner_")
45
c.Owner = strings.TrimPrefix(c.Owner, "0x")
46
c.Owner = strings.ToLower(c.Owner)
47
0 commit comments