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:
		
							
								
								
									
										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 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fate-grand-order
					fate-grand-order