Skip to content

Commit e2a2b29

Browse files
authored
Fix spelling mistakes in Go comments (#37617)
1 parent c69e8a1 commit e2a2b29

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sdks/go/pkg/beam/core/runtime/harness/datamgr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ func (c *DataChannel) read(ctx context.Context) {
433433
// for all transforms in an instruction before the instruction even begun. However, we can't
434434
// know this until we received the Control instruction which knows how many transforms for which
435435
// we need to receive data. So we check the cache directly every so often and evict closed
436-
// readers. We will never recieve data for these instructions again.
436+
// readers. We will never receive data for these instructions again.
437437
for instID, r := range cache {
438438
if r.Closed() {
439439
delete(cache, instID)

sdks/go/pkg/beam/runners/prism/internal/engine/teststream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ func (tsi *testStreamImpl) initHandler(id string) {
299299
}
300300
}
301301

302-
// TagsToPCollections recieves the map of local output tags to global pcollection ids.
302+
// TagsToPCollections receives the map of local output tags to global pcollection ids.
303303
func (tsi *testStreamImpl) TagsToPCollections(tagToPcol map[string]string) {
304304
tsi.em.testStreamHandler.TagsToPCollections(tagToPcol)
305305
}

0 commit comments

Comments
 (0)