fix some typos in notifications/event.go and sinks.go

Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
This commit is contained in:
fate-grand-order 2017-03-20 20:15:55 +08:00
parent 08b06dc023
commit eaf60fffee
2 changed files with 3 additions and 3 deletions

View file

@ -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
@ -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 {