Merge pull request #2216 from fate-grand-order/fixed
fix some typos in notifications/event.go and sinks.go
This commit is contained in:
commit
29e5cd5304
@ -77,7 +77,7 @@ type Event struct {
|
|||||||
Request RequestRecord `json:"request,omitempty"`
|
Request RequestRecord `json:"request,omitempty"`
|
||||||
|
|
||||||
// Actor specifies the agent that initiated the event. For most
|
// 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"`
|
Actor ActorRecord `json:"actor,omitempty"`
|
||||||
|
|
||||||
// Source identifies the registry node that generated the event. Put
|
// 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
|
// 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
|
// Data in this record can refer to both the initiating client and the
|
||||||
// generating request.
|
// generating request.
|
||||||
type ActorRecord struct {
|
type ActorRecord struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user