Skip to content

Commit

Permalink
chore: fix function name
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Sep 3, 2024
1 parent f87c7be commit 91ac601
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 91ac601

Please sign in to comment.