Skip to content

Commit

Permalink
[extension/observer] Fix typo (open-telemetry#13260)
Browse files Browse the repository at this point in the history
  • Loading branch information
matianjun1 authored Aug 12, 2022
1 parent 4ac2eb5 commit f79bfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/observer/observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ type NotifyID string

// Notify is the callback for Observer events.
type Notify interface {
// ID must be unique for each Notify implementer instance and is for registration purposes
// ID must be unique for each Notify implementer instance and is for registration purposes.
ID() NotifyID
// OnAdd is called once or more initially for state sync as well as when further endpoints are added.
OnAdd(added []Endpoint)
// OnRemove is called when one or more endpoints are removed.
OnRemove(removed []Endpoint)
// OnChange is called when one ore more endpoints are modified but the identity is not changed
// OnChange is called when one or more endpoints are modified but the identity is not changed
// (e.g. labels).
OnChange(changed []Endpoint)
}

0 comments on commit f79bfa1

Please sign in to comment.