Skip to content

Commit

Permalink
chore: fix function name (uber-go#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuishuang authored Sep 3, 2024
1 parent f87c7be commit d6b2d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func newSinkRegistry() *sinkRegistry {
return sr
}

// RegisterScheme registers the given factory for the specific scheme.
// RegisterSink registers the given factory for the specific scheme.
func (sr *sinkRegistry) RegisterSink(scheme string, factory func(*url.URL) (Sink, error)) error {
sr.mu.Lock()
defer sr.mu.Unlock()
Expand Down

0 comments on commit d6b2d14

Please sign in to comment.