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 2023/06/06 18:04:32 UTC

[beam] branch lostluck-patch-3 created (now 56b08883424)

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

lostluck pushed a change to branch lostluck-patch-3
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 56b08883424 Lint fixes: receiver consistency.

This branch includes the following new commits:

     new 56b08883424 Lint fixes: receiver consistency.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[beam] 01/01: Lint fixes: receiver consistency.

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 56b08883424ed6c5b990f2b8c83bf125633f5ee4
Author: Robert Burke <lo...@users.noreply.github.com>
AuthorDate: Tue Jun 6 11:04:20 2023 -0700

    Lint fixes: receiver consistency.
---
 sdks/go/pkg/beam/core/timers/timers.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/go/pkg/beam/core/timers/timers.go b/sdks/go/pkg/beam/core/timers/timers.go
index e05b414f5bf..9e188dcbc69 100644
--- a/sdks/go/pkg/beam/core/timers/timers.go
+++ b/sdks/go/pkg/beam/core/timers/timers.go
@@ -120,8 +120,8 @@ func (et EventTime) Clear(p Provider) {
 }
 
 // ClearTag clears this timer for the given tag.
-func (pt EventTime) ClearTag(p Provider, tag string) {
-	p.Set(TimerMap{Family: pt.Family, Clear: true, Tag: tag})
+func (et EventTime) ClearTag(p Provider, tag string) {
+	p.Set(TimerMap{Family: et.Family, Clear: true, Tag: tag})
 }
 
 // ProcessingTime represents the processing time timer.