From 3626ee7b77667faffd166400b45c4e98d877bd52 Mon Sep 17 00:00:00 2001 From: fate-grand-order Date: Tue, 21 Feb 2017 20:24:04 +0800 Subject: [PATCH] correct misspell in cmd/dist/fetch.go and events/transaction.go Signed-off-by: fate-grand-order --- cmd/dist/fetch.go | 2 +- events/transaction.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dist/fetch.go b/cmd/dist/fetch.go index bfab3cd..9dd2189 100644 --- a/cmd/dist/fetch.go +++ b/cmd/dist/fetch.go @@ -211,7 +211,7 @@ func getToken(ctx contextpkg.Context, scopes ...string) (string, error) { return tokenResponse.Token, nil } -// getV2URLPaths generates the canidate urls paths for the object based on the +// getV2URLPaths generates the candidate urls paths for the object based on the // set of hints and the provided object id. URLs are returned in the order of // most to least likely succeed. func getV2URLPaths(prefix, object string, hints ...string) ([]string, error) { diff --git a/events/transaction.go b/events/transaction.go index c314d61..11a2cd4 100644 --- a/events/transaction.go +++ b/events/transaction.go @@ -37,7 +37,7 @@ func (tx *transaction) begin(ctx context.Context, poster Poster) *transaction { } // post the transaction started event - poster.Post(ctx, child.makeTransactionEvent("begin")) // tranactions are really just events + poster.Post(ctx, child.makeTransactionEvent("begin")) // transactions are really just events return child }