Skip to content

Commit d6b2d14

Browse files
authored
chore: fix function name (#1463)
1 parent f87c7be commit d6b2d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sink.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func newSinkRegistry() *sinkRegistry {
7171
return sr
7272
}
7373

74-
// RegisterScheme registers the given factory for the specific scheme.
74+
// RegisterSink registers the given factory for the specific scheme.
7575
func (sr *sinkRegistry) RegisterSink(scheme string, factory func(*url.URL) (Sink, error)) error {
7676
sr.mu.Lock()
7777
defer sr.mu.Unlock()

0 commit comments

Comments
 (0)