You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2019/11/09 00:30:33 UTC
[beam] branch master updated: Fix typo in pardo.go documentation
This is an automated email from the ASF dual-hosted git repository.
altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new da44a4e Fix typo in pardo.go documentation
new 82359a6 Merge pull request #9950 from pgudlani/patch-1
da44a4e is described below
commit da44a4eb63490ce42747621ab23e548c8639d0d0
Author: Pankaj Gudlani <pa...@gmail.com>
AuthorDate: Thu Oct 31 12:06:08 2019 +0000
Fix typo in pardo.go documentation
Change variable name in the documentation
---
sdks/go/pkg/beam/pardo.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/go/pkg/beam/pardo.go b/sdks/go/pkg/beam/pardo.go
index 41283f7..21e515a 100644
--- a/sdks/go/pkg/beam/pardo.go
+++ b/sdks/go/pkg/beam/pardo.go
@@ -123,7 +123,7 @@ func ParDo0(s Scope, dofn interface{}, col PCollection, opts ...Option) {
// words := beam.ParDo(s, &Foo{...}, ...)
// lengths := beam.ParDo(s, func (word string) int) {
// return len(word)
-// }, works)
+// }, words)
//
//
// Each output element has the same timestamp and is in the same windows as its