Skip to content

Commit a17c809

Browse files
Merge pull request #3253 from dvrkps/master
Fix misspells
2 parents bf5a424 + eded188 commit a17c809

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

remotes/docker/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func appendDistributionSourceLabel(originLabel, repo string) string {
8888
}
8989
repos = append(repos, repo)
9090

91-
// use emtpy string to present duplicate items
91+
// use empty string to present duplicate items
9292
for i := 1; i < len(repos); i++ {
9393
tmp, j := repos[i], i-1
9494
for ; j >= 0 && repos[j] >= tmp; j-- {

snapshots/benchsuite/benchmark_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func benchmarkSnapshotter(b *testing.B, snapshotter snapshots.Snapshotter) {
192192
assert.NilError(b, err)
193193
writeDuration += time.Since(timer)
194194

195-
parent = fmt.Sprintf("comitted-%d", atomic.AddInt64(&layerIndex, 1))
195+
parent = fmt.Sprintf("committed-%d", atomic.AddInt64(&layerIndex, 1))
196196

197197
timer = time.Now()
198198
err = snapshotter.Commit(ctx, parent, current)

0 commit comments

Comments
 (0)