Skip to content

Commit

Permalink
Merge pull request #2216 from fate-grand-order/fixed
Browse files Browse the repository at this point in the history
fix some typos in notifications/event.go and sinks.go
  • Loading branch information
dmcgowan authored Mar 20, 2017
2 parents 08b06dc + eaf60ff commit 29e5cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions notifications/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type Event struct {
Request RequestRecord `json:"request,omitempty"`

// Actor specifies the agent that initiated the event. For most
// situations, this could be from the authorizaton context of the request.
// situations, this could be from the authorization context of the request.
Actor ActorRecord `json:"actor,omitempty"`

// Source identifies the registry node that generated the event. Put
Expand All @@ -87,7 +87,7 @@ type Event struct {
}

// ActorRecord specifies the agent that initiated the event. For most
// situations, this could be from the authorizaton context of the request.
// situations, this could be from the authorization context of the request.
// Data in this record can refer to both the initiating client and the
// generating request.
type ActorRecord struct {
Expand Down
2 changes: 1 addition & 1 deletion notifications/sinks.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (eq *eventQueue) Write(events ...Event) error {
return nil
}

// Close shutsdown the event queue, flushing
// Close shuts down the event queue, flushing
func (eq *eventQueue) Close() error {
eq.mu.Lock()
defer eq.mu.Unlock()
Expand Down

0 comments on commit 29e5cd5

Please sign in to comment.