fix some typos
Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
This commit is contained in:
parent
696e88c813
commit
8ce64b2000
5 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@ func TestBasicEvent(t *testing.T) {
|
|||
|
||||
ctx = WithTopic(ctx, "content")
|
||||
// simulate sub-operations with a separate topic, on the content store
|
||||
G(ctx).Post(ctx, fmt.Sprintf("received sha:256"))
|
||||
G(ctx).Post(ctx, fmt.Sprint("received sha:256"))
|
||||
|
||||
G(ctx).Post(ctx, fmt.Sprintf("unpack layer %v", layer))
|
||||
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue