You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lo...@apache.org on 2020/03/18 22:52:23 UTC

[beam] branch lostluck-env-pb-pointer updated: graphx/translate_test.go env pointer fix

This is an automated email from the ASF dual-hosted git repository.

lostluck pushed a commit to branch lostluck-env-pb-pointer
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/lostluck-env-pb-pointer by this push:
     new 9b8c34a  graphx/translate_test.go env pointer fix
9b8c34a is described below

commit 9b8c34ad21878bf7ce063a024c8a9b7dc240d9a1
Author: Robert Burke <lo...@users.noreply.github.com>
AuthorDate: Wed Mar 18 15:52:10 2020 -0700

    graphx/translate_test.go env pointer fix
---
 sdks/go/pkg/beam/core/runtime/graphx/translate_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/go/pkg/beam/core/runtime/graphx/translate_test.go b/sdks/go/pkg/beam/core/runtime/graphx/translate_test.go
index 4b31b33..02c6b8d 100644
--- a/sdks/go/pkg/beam/core/runtime/graphx/translate_test.go
+++ b/sdks/go/pkg/beam/core/runtime/graphx/translate_test.go
@@ -146,7 +146,7 @@ func TestMarshal(t *testing.T) {
 				t.Fatal(err)
 			}
 			p, err := graphx.Marshal(edges,
-				&graphx.Options{Environment: pb.Environment{Urn: "beam:env:docker:v1", Payload: payload}})
+				&graphx.Options{Environment: &pb.Environment{Urn: "beam:env:docker:v1", Payload: payload}})
 			if err != nil {
 				t.Fatal(err)
 			}