You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ib...@apache.org on 2020/05/26 16:09:43 UTC

[beam] branch master updated: add def args

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

ibzib 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 9f8783d  add def args
     new 18de412  Merge pull request #11786 from TheNeuralBit/mobile-gaming-fix
9f8783d is described below

commit 9f8783d4d1d759d6c37fe4bfa1113723a4f5d37b
Author: Brian Hulette <bh...@google.com>
AuthorDate: Thu May 21 17:19:22 2020 -0700

    add def args
---
 release/src/main/groovy/MobileGamingCommands.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release/src/main/groovy/MobileGamingCommands.groovy b/release/src/main/groovy/MobileGamingCommands.groovy
index 505fbcf..1042062e 100644
--- a/release/src/main/groovy/MobileGamingCommands.groovy
+++ b/release/src/main/groovy/MobileGamingCommands.groovy
@@ -146,7 +146,7 @@ class MobileGamingCommands {
   }
 
   private Map getLeaderBoardWithStreamingEngineArgs(String runner, String jobName){
-    args = [project: testScripts.gcpProject(),
+    def args = [project: testScripts.gcpProject(),
             dataset: testScripts.bqDataset(),
             topic: "projects/${testScripts.gcpProject()}/topics/${testScripts.pubsubTopic()}",
             leaderBoardTableName: "leaderboard_${runner}",
@@ -160,7 +160,7 @@ class MobileGamingCommands {
   }
 
   private Map getGameStatsArgs(String runner, String jobName){
-    args = [project: testScripts.gcpProject(),
+    def args = [project: testScripts.gcpProject(),
       dataset: testScripts.bqDataset(),
       topic: "projects/${testScripts.gcpProject()}/topics/${testScripts.pubsubTopic()}",
       fixedWindowDuration: 5,