correct misspell in cmd/dist/fetch.go and events/transaction.go
Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
This commit is contained in:
parent
696e88c813
commit
3626ee7b77
2 changed files with 2 additions and 2 deletions
2
cmd/dist/fetch.go
vendored
2
cmd/dist/fetch.go
vendored
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue