Fix 'forward' typos

Signed-off-by: Xiaoxi He <xxhe@alauda.io>
This commit is contained in:
Xiaoxi He
2018-09-07 13:23:55 +08:00
parent 901b2ea2a7
commit 9f817000cc
3 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ var _ events.Subscriber = &Exchange{}
// Forward accepts an envelope to be direcly distributed on the exchange.
//
// This is useful when an event is forwaded on behalf of another namespace or
// This is useful when an event is forwarded on behalf of another namespace or
// when the event is propagated on behalf of another publisher.
func (e *Exchange) Forward(ctx context.Context, envelope *events.Envelope) (err error) {
if err := validateEnvelope(envelope); err != nil {