Skip to content

Commit c6bdd57

Browse files
committed
fix typo in error message: uri -> urn
1 parent ac9cf33 commit c6bdd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/extension_mgr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func (c *Collection) Load(uri string, r io.Reader) error {
246246
return fmt.Errorf("%w: invalid urn, expected format is \"extension:<owner>:<id>\", got: %s", substraitgo.ErrInvalidSimpleExtention, urn)
247247
}
248248
if c.URNLoaded(urn) {
249-
return fmt.Errorf("%w: uri %s already loaded", substraitgo.ErrKeyExists, urn)
249+
return fmt.Errorf("%w: urn %s already loaded", substraitgo.ErrKeyExists, urn)
250250
}
251251

252252
c.urnSet[urn] = void

0 commit comments

Comments
 (0)