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

pabloem 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 ee0dfa9  [BEAM-13428][Playground] Fix to get pipelineOptions for the 
precompiledObjects
     new b9ed02a  Merge pull request #16181 from [BEAM-13428][Playground] 
[Bugfix] Backend doesn't send pipeline's options from examples API
ee0dfa9 is described below

commit ee0dfa93bc6a4f8f65897cae7567a083575aefa2
Author: AydarZaynutdinov <[email protected]>
AuthorDate: Thu Dec 9 13:19:32 2021 +0300

    [BEAM-13428][Playground]
    Fix to get pipelineOptions for the precompiledObjects
---
 playground/backend/internal/utils/precompiled_objects_utils.go | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/playground/backend/internal/utils/precompiled_objects_utils.go 
b/playground/backend/internal/utils/precompiled_objects_utils.go
index 3abb468..5eef10f 100644
--- a/playground/backend/internal/utils/precompiled_objects_utils.go
+++ b/playground/backend/internal/utils/precompiled_objects_utils.go
@@ -28,10 +28,11 @@ func PutPrecompiledObjectsToCategory(categoryName string, 
precompiledObjects *cl
        }
        for _, object := range *precompiledObjects {
                category.PrecompiledObjects = 
append(category.PrecompiledObjects, &pb.PrecompiledObject{
-                       CloudPath:   object.CloudPath,
-                       Name:        object.Name,
-                       Description: object.Description,
-                       Type:        object.Type,
+                       CloudPath:       object.CloudPath,
+                       Name:            object.Name,
+                       Description:     object.Description,
+                       Type:            object.Type,
+                       PipelineOptions: object.PipelineOptions,
                })
        }
        sdkCategory.Categories = append(sdkCategory.Categories, &category)

Reply via email to